Răsfoiți Sursa

修改bom删除时还有treeData

695593266@qq.com 4 luni în urmă
părinte
comite
0fbc271e62
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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;
             }
           }