Przeglądaj źródła

Merge branch 'requirements_084'

hbchen 1 rok temu
rodzic
commit
86124f2920
1 zmienionych plików z 6 dodań i 3 usunięć
  1. 6 3
      src/views/datasheet_manage/sheetList.vue

+ 6 - 3
src/views/datasheet_manage/sheetList.vue

@@ -776,9 +776,12 @@ export default {
         return 
       }
       this.$message.success("保存成功");
-      this.markFinishStatus()
+      // this.markFinishStatus()
 
-      this.getTreeData();
+      if(this.autoSaveType == "nameEdit"){
+        this.getTreeData();
+        this.autoSaveType=''
+      }
 
       this.getDetailHandle();
     }, 300),
@@ -981,7 +984,7 @@ export default {
       if(!this.onlineExcelEditing) return
       this.editNodeLabel(sheetDetailInfo, type)
     },
-    // 标记 编辑完成
+    // 标记 编辑完成 退出编辑状态
     markFinishStatus(select_id){
       let id = select_id || this.select_id
       if((!this.onlineExcelEditing) || (!id) || id=='0'){