瀏覽代碼

修复更换列表问题

wolyshaw 4 年之前
父節點
當前提交
c352213695
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));