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
commit 0991e40016
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -1 +1 @@
Subproject commit 4d6e54f4788840bd4a2ed0ed25c5394855554174
Subproject commit 7d33cdfc9cc735685e430cc5685c21608c589218