update base price date range

This commit is contained in:
edmondlang
2022-04-23 14:59:52 +08:00
parent 3dfec9fd6d
commit 86893efe3d
@@ -178,6 +178,7 @@
},
resetSearch() {
var today = new Date();
today = today = new Date(today.setMonth(today.getMonth()-1));
today = new Date(today.getTime() - ((today.getTimezoneOffset())*60*1000));
this.searchParam.dateFrom = today.toISOString().split('T')[0];