Procházet zdrojové kódy

修改bom删除时还有treeData

695593266@qq.com před 4 měsíci
rodič
revize
0fbc271e62
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/views/material/BOMmanage/detailsPop.vue

+ 2 - 0
src/views/material/BOMmanage/detailsPop.vue

@@ -725,6 +725,7 @@
               this.getTreeData();
             } else {
               this.searchObj.versions = '';
+              this.treeList = [];
               this.isNotData = false;
             }
           } else {
@@ -733,6 +734,7 @@
                 this.versList[this.versList.length - 1].versions;
               this.getTreeData();
             } else {
+              this.treeList = [];
               this.isNotData = false;
             }
           }