Commit b97242f83bf924e53d150b8c2fa494dc6f4e570e

Authored by fengwotao
1 parent 34bfa253

fix: 修复启动报表配置报错,前端的间隔时间没传,导致服务端报错

@@ -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 },