Преглед изворни кода

修改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;
             }
           }