fix: BUG修改
This commit is contained in:
parent
98e7914428
commit
c9432799dd
@ -58,7 +58,7 @@ export const initDynamicRouter = async (params?: any) => {
|
|||||||
if (globalStore.path == item.path) {
|
if (globalStore.path == item.path) {
|
||||||
router.push(globalStore.path);
|
router.push(globalStore.path);
|
||||||
} else {
|
} else {
|
||||||
if (item.path != "/" && index == 1) {
|
if (item.path != "/") {
|
||||||
router.push(item.path);
|
router.push(item.path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user