Browse Source

全局公式配置搜索表单条件判断修改

duy 2 năm trước cách đây
mục cha
commit
3b5babd3f6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/formula/edit1.vue

+ 2 - 2
src/views/formula/edit1.vue

@@ -804,7 +804,7 @@ export default {
         this.allTreeData=[]
         if (!this.allTreeData.length) {
           this.treeloading = true;
-          if(this.globaltype===0&&!this.elementType){
+          if(!this.elementType){
              let parentId=''
              if(this.curData.hasChildren){
                parentId=this.curData.id
@@ -822,7 +822,7 @@ export default {
               })
 
 
-          }else if(this.globaltype===0&&this.elementType){
+          }else if(this.elementType){
              let parentId=''
              if(this.curData.hasChildren){
                parentId=this.curData.id