소스 검색

隐藏弹窗后清理旧数据

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
     },