mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 14:52:58 +00:00
fix: 修复面包屑问题
This commit is contained in:
parent
02f96d6f97
commit
76090631fc
|
|
@ -161,10 +161,11 @@ function changeMenu(id: string) {
|
|||
router.push({ name: lastMatched.name, params: { id: id } })
|
||||
} else if (isApplication.value) {
|
||||
const type = list.value?.filter((v) => v.id === id)?.[0]?.type
|
||||
if (type === 'WORK_FLOW') {
|
||||
if (lastMatched.name === 'AppSetting' || lastMatched.name === 'AppHitTest') {
|
||||
router.push({ path: `/application/${id}/${type}/overview` })
|
||||
}
|
||||
if (
|
||||
type === 'WORK_FLOW' &&
|
||||
(lastMatched.name === 'AppSetting' || lastMatched.name === 'AppHitTest')
|
||||
) {
|
||||
router.push({ path: `/application/${id}/${type}/overview` })
|
||||
} else {
|
||||
router.push({
|
||||
name: lastMatched.name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue