Parcourir la source

公式节点参数修改

duy il y a 2 ans
Parent
commit
56043d39b8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 => {
                 // 请求接口,返回数据