瀏覽代碼

隐藏弹窗后清理旧数据

gangyj 2 年之前
父節點
當前提交
aad693c8c0
共有 1 個文件被更改,包括 8 次插入0 次删除
  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
     },