fix(工作台): 修复工作台跳转数据源对应的数据源在列表未高亮问题

This commit is contained in:
wangjiahao 2024-04-28 15:36:37 +08:00
parent 9eb8799cfc
commit 3d2395bccb

View File

@ -402,9 +402,9 @@ const listDs = () => {
if (!!id) {
Object.assign(nodeInfo, cloneDeep(defaultInfo))
dfsDatasourceTree(state.datasourceTree, id)
nextTick(() => {
dsListTree.value.setCurrentKey(id, true)
})
setTimeout(() => {
dsListTree.value.setCurrentKey(nodeInfo.id, true)
}, 100)
}
})
}