duy 2 年之前
父節點
當前提交
c1a090d8e3
共有 1 個文件被更改,包括 2 次插入2 次删除
  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===1&&!this.elementType){
+          if(this.globaltype===0&&!this.elementType){
              let parentId=''
              if(this.curData.hasChildren){
                parentId=this.curData.id
@@ -822,7 +822,7 @@ export default {
               })
 
 
-          }else if(this.globaltype===1&&this.elementType){
+          }else if(this.globaltype===0&&this.elementType){
              let parentId=''
              if(this.curData.hasChildren){
                parentId=this.curData.id