gangyj 2 år sedan
förälder
incheckning
2d96924664
1 ändrade filer med 9 tillägg och 9 borttagningar
  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(){