mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +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'),
|
||||
value: field['decoratorProps']['defaultView'] || 'month',
|
||||
options: [
|
||||
{ value: 'month', label: '月' },
|
||||
{ value: 'week', label: '周' },
|
||||
{ value: 'day', label: '天' },
|
||||
{ value: 'month', label: t('Month') },
|
||||
{ value: 'week', label: t('Week') },
|
||||
{ value: 'day', label: t('Day') },
|
||||
],
|
||||
onChange: (v) => {
|
||||
field.decoratorProps.defaultView = v;
|
||||
|
Loading…
x
Reference in New Issue
Block a user