瀏覽代碼

公式节点参数修改

duy 2 年之前
父節點
當前提交
56043d39b8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/formula/edit1.vue

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

@@ -718,7 +718,7 @@ export default {
         // 开启 “加载中” 动画
         if(node.level == 0) this.loading=true
         //  if(this.globaltype===1&&!this.elementType){
-           if(this.globaltype===0&&!this.elementType){
+           if(!this.elementType){
              tabTypeLazyTreeAll({parentId,current:1,size:1000}).then(res => {
                 // 请求接口,返回数据
                 let data = res.data.data.records;
@@ -754,7 +754,7 @@ export default {
             })
          }
         //  else if(this.globaltype===1&&this.elementType)
-            else if(this.globaltype===0&&this.elementType)
+            else if(this.elementType)
          {
           tabTypeLazyTree({parentId,projectId:this.projectid,pcurrent:1,size:1000}).then(res => {
                 // 请求接口,返回数据