Explorar o código

隐藏弹窗后清理旧数据

gangyj %!s(int64=2) %!d(string=hai) anos
pai
achega
aad693c8c0
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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
     },