This commit is contained in:
caozehui
2025-01-08 09:46:47 +08:00
parent 87c46e8477
commit de5548bbbd
2 changed files with 30 additions and 24 deletions

View File

@@ -249,9 +249,9 @@ const defaultOperate = () => {
currentDesc.value = node.sourceDesc
checkIndex.value = node.index
defaultExpandedKeys = [node.index]
// nextTick(() => {
// treeRef.value?.setCurrentKey(node.index);
// });
treeRef.value?.setCurrentKey(node.index);
} else {
currentScriptTypeName.value = ''
currentDesc.value = ''