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

fix(血缘分析): 资源依赖显示不正确
This commit is contained in:
dataeaseShu
2024-08-20 14:52:46 +08:00
committed by GitHub
4 changed files with 9 additions and 3 deletions

View File

@@ -17,3 +17,9 @@ export function getPanelRelationship(id) {
url: `/relation/dv/${id}`
})
}
export function resourceCheckPermission(id) {
return request.post({
url: `/resource/checkPermission/${id}`
})
}

View File

@@ -260,7 +260,7 @@ const dfsDatasetTree = (ds, id) => {
}
onBeforeMount(() => {
nodeInfo.id = (route.params.id as string) || ''
nodeInfo.id = (route.params.id as string) || (route.query.id as string) || ''
loadInit()
getData()
})

View File

@@ -906,7 +906,7 @@ const loadInit = () => {
}
onMounted(() => {
nodeInfo.id = (route.params.id as string) || ''
nodeInfo.id = (route.params.id as string) || (route.query.id as string) || ''
loadInit()
listDs()
const { opt } = router.currentRoute.value.query