mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: calender default view locale (#6084)
This commit is contained in:
parent
aa8aae89d5
commit
d87e7bb78e
@ -149,9 +149,9 @@ export const calendarBlockSettings = new SchemaSettings({
|
|||||||
title: t('Default view'),
|
title: t('Default view'),
|
||||||
value: field['decoratorProps']['defaultView'] || 'month',
|
value: field['decoratorProps']['defaultView'] || 'month',
|
||||||
options: [
|
options: [
|
||||||
{ value: 'month', label: '月' },
|
{ value: 'month', label: t('Month') },
|
||||||
{ value: 'week', label: '周' },
|
{ value: 'week', label: t('Week') },
|
||||||
{ value: 'day', label: '天' },
|
{ value: 'day', label: t('Day') },
|
||||||
],
|
],
|
||||||
onChange: (v) => {
|
onChange: (v) => {
|
||||||
field.decoratorProps.defaultView = v;
|
field.decoratorProps.defaultView = v;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user