mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 23:49:27 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
14ba6c2b3c
@ -150,9 +150,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