修改测试bug

This commit is contained in:
GGJ
2024-10-17 10:54:33 +08:00
parent 67383d5888
commit 82019e377c
3 changed files with 5 additions and 2 deletions

View File

@@ -78,7 +78,8 @@ getLineTree().then(res => {
// }) // })
// } // }
else { else {
emit('init')
emit('init',arr2[0])
} }
}) })
}) })

View File

@@ -406,6 +406,7 @@ const details = (val: any) => {
} }
} else { } else {
form1.value = val form1.value = val
checkedIdList.value=form1.value.list
} }
return return

View File

@@ -117,7 +117,8 @@ const changetype = (val: any) => {
} }
const handleNodeClick = (data: any, node: any) => { const handleNodeClick = (data: any, node: any) => {
if (data.level == 3) { console.log("🚀 ~ handleNodeClick ~ data:", data)
if (data?.type == "line") {
dotList.value = data dotList.value = data
setTimeout(() => { setTimeout(() => {
tableStore.index() tableStore.index()