feat: gant block table configure

This commit is contained in:
katherinehhh 2023-01-29 20:55:46 +08:00
parent 402c63f307
commit 636ad912f9
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,7 @@ export const GanttDesigner = () => {
/>
<SchemaSettings.SelectItem
title={t('Time Range')}
value={fieldNames.range}
value={fieldNames.range||'day'}
options={[
{ label: compile('{{t("Hour")}}'), value: 'hour', color: 'orange' },
{ label: compile('{{t("Quarter of day")}}'), value: 'quarterOfDay', color: 'default' },

View File

@ -1062,7 +1062,6 @@ export const createGanttBlockSchema = (options) => {
'x-decorator-props': {
style: {
display: 'inline-block',
maxWidth: '30%',
},
},