gangyj 2 rokov pred
rodič
commit
2d96924664
1 zmenil súbory, kde vykonal 9 pridanie a 9 odobranie
  1. 9 9
      src/views/manager/projectinfo/tree.vue

+ 9 - 9
src/views/manager/projectinfo/tree.vue

@@ -2782,15 +2782,15 @@ export default {
     },
 
     eleFormulaHandle(){
-      // if(!this.curTreeData.id || !this.curTreeNode.id){
-      //   this.$message({
-      //     type: "warning",
-      //     message: "请先选择节点"
-      //   })
-      //   return;
-      // }
-      // this.setLeftType(4,this.curTreeData,this.curTreeNode);
-      this.showType = 2;
+      if(!this.curTreeData.id || !this.curTreeNode.id){
+        this.$message({
+          type: "warning",
+          message: "请先选择节点"
+        })
+        return;
+      }
+      this.setLeftType(4,this.curTreeData,this.curTreeNode);
+      //this.showType = 2;
     },
 
     editNodeHandle(){