diff --git a/src/views/tjanalysis/electricdata/index.vue b/src/views/tjanalysis/electricdata/index.vue index 239b596..2c22798 100644 --- a/src/views/tjanalysis/electricdata/index.vue +++ b/src/views/tjanalysis/electricdata/index.vue @@ -76,7 +76,7 @@ const dbTypes = reactive({typeList: []}) const dataList = reactive({dList: [] , days: 0}) const queryParams = reactive({ - date: formatDate(new Date() , 'YYYY-MM-DD'), + date: formatDate(new Date().setDate(new Date().getDate() - 1) , 'YYYY-MM-DD'), flag: '2', iname:'' })