Commit 5063b5d32fbca468f7664dffc47b94920e634163

Authored by ww
1 parent 206f4937

fix: RangePicker format is not correct

... ... @@ -145,6 +145,7 @@
145 145 startTs: Date.now() - 1 * 24 * 60 * 60 * 1000,
146 146 endTs: Date.now(),
147 147 agg: AggregateDataEnum.NONE,
  148 + limit: 7,
148 149 });
149 150
150 151 // 判断对象是否为空
... ...
... ... @@ -10,7 +10,9 @@
10 10 baseColProps: {
11 11 span: 5,
12 12 },
13   - fieldMapToTime: [[SchemaFiled.DATE_RANGE, [SchemaFiled.START_TS, SchemaFiled.END_TS]]],
  13 + fieldMapToTime: [
  14 + [SchemaFiled.DATE_RANGE, [SchemaFiled.START_TS, SchemaFiled.END_TS], 'YYYY-MM-DD HH:mm:ss'],
  15 + ],
14 16 });
15 17 onMounted(() => {
16 18 emit('register', method);
... ...