Showing
1 changed file
with
3 additions
and
3 deletions
| ... | ... | @@ -381,11 +381,11 @@ export const formSchema: QFormSchema[] = [ |
| 381 | 381 | field: SchemaFiled.LIMIT, |
| 382 | 382 | label: '最大值', |
| 383 | 383 | component: 'InputNumber', |
| 384 | - defaultValue: 200, | |
| 385 | 384 | required: true, |
| 386 | 385 | ifShow({ values }) { |
| 387 | 386 | return values[SchemaFiled.AGG] === AggregateDataEnum.NONE; |
| 388 | 387 | }, |
| 388 | + // defaultValue: 200, | |
| 389 | 389 | componentProps() { |
| 390 | 390 | return { |
| 391 | 391 | max: 50000, |
| ... | ... | @@ -457,7 +457,7 @@ export const formSchema: QFormSchema[] = [ |
| 457 | 457 | field: SchemaFiled.START_TS, |
| 458 | 458 | label: '时间周期', |
| 459 | 459 | component: 'Select', |
| 460 | - defaultValue: 1000, | |
| 460 | + // defaultValue: 1000, | |
| 461 | 461 | required: true, |
| 462 | 462 | ifShow({ values }) { |
| 463 | 463 | return ( |
| ... | ... | @@ -481,13 +481,13 @@ export const formSchema: QFormSchema[] = [ |
| 481 | 481 | label: '间隔时间', |
| 482 | 482 | component: 'Select', |
| 483 | 483 | required: true, |
| 484 | + // defaultValue: 1000, | |
| 484 | 485 | ifShow({ values }) { |
| 485 | 486 | return ( |
| 486 | 487 | values[SchemaFiled.AGG] !== AggregateDataEnum.NONE && |
| 487 | 488 | values[SchemaFiled.WAY] == QueryWay.LATEST |
| 488 | 489 | ); |
| 489 | 490 | }, |
| 490 | - defaultValue: 1000, | |
| 491 | 491 | componentProps({ formModel, formActionType }) { |
| 492 | 492 | const options = |
| 493 | 493 | formModel[SchemaFiled.WAY] === QueryWay.LATEST | ... | ... |