Showing
1 changed file
with
3 additions
and
2 deletions
@@ -468,10 +468,11 @@ export const formSchema: BFormSchema[] = [ | @@ -468,10 +468,11 @@ export const formSchema: BFormSchema[] = [ | ||
468 | label: '间隔时间', | 468 | label: '间隔时间', |
469 | component: 'Select', | 469 | component: 'Select', |
470 | colProps: { span: 24 }, | 470 | colProps: { span: 24 }, |
471 | - dynamicRules: ({ model }) => { | 471 | + dynamicRules: () => { |
472 | return [ | 472 | return [ |
473 | { | 473 | { |
474 | - required: model[SchemaFiled.AGG] !== AggregateDataEnum.NONE, | 474 | + // required: model[SchemaFiled.AGG] !== AggregateDataEnum.NONE, |
475 | + required: true, | ||
475 | message: '间隔时间为必填项', | 476 | message: '间隔时间为必填项', |
476 | type: 'number', | 477 | type: 'number', |
477 | }, | 478 | }, |