Przeglądaj źródła

修复更换列表问题

wolyshaw 4 lat temu
rodzic
commit
c352213695
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/businessManager/resetList/index.vue

+ 1 - 1
src/views/businessManager/resetList/index.vue

@@ -316,7 +316,7 @@ export default {
   },
   },
   methods: {
   methods: {
     init() {
     init() {
-      if (this.searchForm.resetDate.length < 1) {
+      if (this.searchForm.resetDate?.length < 1) {
         this.searchForm.resetDate = [];
         this.searchForm.resetDate = [];
         this.searchForm.resetDate.push(getNowDateAndMonday(nowTime));
         this.searchForm.resetDate.push(getNowDateAndMonday(nowTime));
         this.searchForm.resetDate.push(getNowDateAndSunday(nowTime));
         this.searchForm.resetDate.push(getNowDateAndSunday(nowTime));