Ver Fonte

Merge branch 'bug_4837' into custom

hbchen há 4 meses atrás
pai
commit
575f9ed752
1 ficheiros alterados com 4 adições e 2 exclusões
  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;