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