Przeglądaj źródła

Merge branch 'bug_4837' into custom

hbchen 4 miesięcy temu
rodzic
commit
575f9ed752
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      src/views/datasheet_manage/sheetList.vue

+ 4 - 2
src/views/datasheet_manage/sheetList.vue

@@ -573,7 +573,10 @@ export default {
     },
     /* 表格id */
     select_id(newval,oldVlue) {
-      newval && this.getDetailHandle();
+      if(newval){
+        this.sheetDetailInfo = {}
+        this.getDetailHandle()
+      }
       this.markFinishStatus(oldVlue)
     },
 
@@ -744,7 +747,6 @@ export default {
       this.select_classify = !ExcelInfoId ? ExcelClassifyId : 0;
       if (this.select_id !== ExcelInfoId) {
         this.select_id = ExcelInfoId || 0;
-        this.sheetDetailInfo = {};
       }
       this.resetNodeStyle(node);
       this.dynamicNode = node;