瀏覽代碼

修改bom删除时还有treeData

695593266@qq.com 4 月之前
父節點
當前提交
0fbc271e62
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;
             }
           }