Browse Source

Merge branch 'bug_4837' into custom

hbchen 4 months ago
parent
commit
575f9ed752
1 changed files with 4 additions and 2 deletions
  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;