fix(工作台): 点击最近使用等具体资产名称进行跳转,无法定位到指定的资产

This commit is contained in:
dataeaseShu
2024-12-04 15:53:46 +08:00
parent 3045df1041
commit d4580a30fe

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')