diff --git a/src/views/abnormalAlarm/components/searchBar.vue b/src/views/abnormalAlarm/components/searchBar.vue index d8c820a..1e1b582 100644 --- a/src/views/abnormalAlarm/components/searchBar.vue +++ b/src/views/abnormalAlarm/components/searchBar.vue @@ -117,7 +117,7 @@ @@ -187,8 +187,8 @@ export default { names: undefined, stations: undefined, sources: undefined, - startDate: dateFormat(new Date(), 'yyyy-MM-dd'), - endDate: dateFormat(new Date(), 'yyyy-MM-dd'), + startDate: moment().subtract(6, 'days').format('YYYY-MM-DD'), + endDate: moment().format('YYYY-MM-DD'), }, } },