Forráskód Böngészése

隐藏弹窗后清理旧数据

gangyj 2 éve
szülő
commit
aad693c8c0
1 módosított fájl, 8 hozzáadás és 0 törlés
  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
     },