Commit 6e88ff780b0921760219cfcc2ea8f3471be3e23f
1 parent
56471847
fix:DEFECT-623 修复数据类型设置的原始数据,界面回显为聚合数据
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [ |
50 | 50 | dataIndex: 'dataType', |
51 | 51 | width: 120, |
52 | 52 | format: (_text: string, record: Recordable) => { |
53 | - return record.dataCompare === 0 ? '原始数据' : '聚合数据'; | |
53 | + return record.dataType === 0 ? '原始数据' : '聚合数据'; | |
54 | 54 | }, |
55 | 55 | }, |
56 | 56 | { |
... | ... | @@ -413,7 +413,7 @@ export const formSchema: QFormSchema[] = [ |
413 | 413 | { label: '自定义周期', value: QueryWay.TIME_PERIOD }, |
414 | 414 | ], |
415 | 415 | onChange(value) { |
416 | - console.log(value) | |
416 | + console.log(value); | |
417 | 417 | value === QueryWay.LATEST |
418 | 418 | ? setFieldsValue({ |
419 | 419 | [SchemaFiled.DATE_RANGE]: [], | ... | ... |