mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 06:50:45 +08:00
Merge pull request #11653 from dataease/pr@dev-v2_st
fix(血缘分析): 资源依赖显示不正确
This commit is contained in:
@@ -17,3 +17,9 @@ export function getPanelRelationship(id) {
|
||||
url: `/relation/dv/${id}`
|
||||
})
|
||||
}
|
||||
|
||||
export function resourceCheckPermission(id) {
|
||||
return request.post({
|
||||
url: `/resource/checkPermission/${id}`
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
|
||||
@@ -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
|
||||
|
||||
2
de-xpack
2
de-xpack
Submodule de-xpack updated: 4d6e54f478...7d33cdfc9c
Reference in New Issue
Block a user