Merge pull request #13827 from dataease/pr@dev-v2_st

fix(工作台): 点击最近使用等具体资产名称进行跳转,无法定位到指定的资产
This commit is contained in:
fit2cloud-chenyw
2024-12-04 15:55:25 +08:00
committed by GitHub

View File

@@ -341,7 +341,7 @@ const dfsDatasetTree = (ds, id) => {
}
onBeforeMount(() => {
const paramId = wsCache.get('dataset-info-id')
const paramId = wsCache.get('dataset-info-id') || route.params.id
nodeInfo.id = (paramId as string) || (route.query.id as string) || ''
wsCache.delete('dataset-info-id')
wsCache.delete('db-info-id')