From e5a06b82330d6850ddbef1cffe531ceaa0e9d848 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Wed, 2 Apr 2025 09:35:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/viewsnew/application/module/Leftmenu/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue b/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue index bf37c55..e2404b5 100644 --- a/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue +++ b/core/core-frontend/src/viewsnew/application/module/Leftmenu/index.vue @@ -127,7 +127,7 @@ function editClic(data:any){ window.open('/#/dvsCanvas?dvId=' +data.id, '_blank'); // window.open('/#/dvCanvas?dvId=' + "1097641013486424064", '_blank'); } -function addTreeChildNode(event:any,level:any,pid:any){ // // 添加子节点 +function addTreeChildNode(event:any,level:any,data:any){ // // 添加子节点 let element = document.getElementById("drag_main_area") if(element !=null){ const x = event.clientX; // 水平坐标(相对于元素边界) @@ -138,11 +138,11 @@ function addTreeChildNode(event:any,level:any,pid:any){ // // 添加子节点 popupType.value = 1 dataInfo.value={ appId:projectInfo.value.id, - pid: pid, + pid: data.id, level: level, nodeType: "", name:'', - type:'' + type:data.type } isTreeDrag.value = true } @@ -251,7 +251,7 @@ function delTreeClic(){ // 删除