Explorar o código

修改bom删除时还有treeData

695593266@qq.com hai 4 meses
pai
achega
0fbc271e62
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
             }
           }