Sfoglia il codice sorgente

fix: 去掉默认数据

yanglzh 10 mesi fa
parent
commit
693cb44201

+ 3 - 6
src/views/iot/dataAnalysis/IndicatorAggregation/index.vue

@@ -91,12 +91,9 @@ const dataset = ref<any[]>(chartData.dataset);
 useThemeChange([config])
 
 const params = reactive({
-  // productKey: '',
-  // deviceKey: '',
-  // properties: '',
-  productKey: '1234567890',
-  deviceKey: 'qwertyuio',
-  properties: 'wertyuiop',
+  productKey: '',
+  deviceKey: '',
+  properties: '',
   dateType: '1',
   dateRange: [dayjs().format('YYYY-MM-DD 00:00:00'), dayjs().format('YYYY-MM-DD HH:mm:00')]
 })

+ 3 - 6
src/views/iot/dataAnalysis/exponentialTrend/index.vue

@@ -88,12 +88,9 @@ const loading = ref(false)
 const propertyName = ref('')
 const activeIndex = ref(1);
 const params = reactive({
-  productKey: '1234567890',
-  deviceKey: 'qwertyuio',
-  properties: 'wertyuiop',
-  // productKey: '',
-  // deviceKey: '',
-  // properties: '',
+  productKey: '',
+  deviceKey: '',
+  properties: '',
   dateRange: [dayjs().subtract(1, 'hour').format('YYYY-MM-DD HH:mm:ss'), dayjs().format('YYYY-MM-DD HH:mm:ss')],
 })