Procházet zdrojové kódy

修复更换列表问题

wolyshaw před 4 roky
rodič
revize
c352213695
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/businessManager/resetList/index.vue

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

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