Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-01-17 07:26:36 +00:00
commit 14ba6c2b3c

View File

@ -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;