duy 9 meses atrás
pai
commit
0cc9aa42a5
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      src/views/tentative/components/dataMap.vue

+ 6 - 0
src/views/tentative/components/dataMap.vue

@@ -123,6 +123,11 @@ export default {
             "htmlKeyName",
             newItem.htmlKeyName
           );
+          console.log(this.clickArr,'this.clickArr');
+          
+          console.log(isContained,'isContained');
+          console.log(newItem,'newItem');
+          
           if (isContained) {
             this.clickArr.forEach((ele) => {
               if (ele.htmlKeyName === newItem.htmlKeyName) {
@@ -407,6 +412,7 @@ export default {
         await this.getLinkedData();
         await this.getExcelHtmlCol(this.classId, this.linkedData); //获取excel模板
         this.clickArr = [];
+        this.curItem={}
       }
     },
   },