|
@@ -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(){
|