fix: BUG修改

This commit is contained in:
kun 2023-11-27 10:53:14 +08:00
parent 98e7914428
commit c9432799dd

View File

@ -58,7 +58,7 @@ export const initDynamicRouter = async (params?: any) => {
if (globalStore.path == item.path) {
router.push(globalStore.path);
} else {
if (item.path != "/" && index == 1) {
if (item.path != "/") {
router.push(item.path);
}
}