Parcourir la source

隐藏弹窗后清理旧数据

gangyj il y a 2 ans
Parent
commit
aad693c8c0
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      src/views/exctab/ElementIdentification/index.vue

+ 8 - 0
src/views/exctab/ElementIdentification/index.vue

@@ -525,6 +525,14 @@ export default {
       // }
       // this.exceldata = []
       // this.addElement = false
+
+      //清理之前填写的数据
+      this.addElementForm.wbsId = '';
+      this.addElementForm.tableType = '';
+      this.addElementForm.tableOwner = '';
+      this.$refs.tree.setCheckedKeys([]);
+      this.$refs.tree.setCurrentKey(null);
+
       this.addTableData = []
       this.AssociatedPublicTap = false
     },