|
@@ -297,7 +297,7 @@ router.beforeEach(async (to, from, next) => {
|
|
|
if (!isFetchPermissionInfo) {
|
|
if (!isFetchPermissionInfo) {
|
|
|
await fetchPermissionInfo()
|
|
await fetchPermissionInfo()
|
|
|
isFetchPermissionInfo = true
|
|
isFetchPermissionInfo = true
|
|
|
- next(to.path, true)
|
|
|
|
|
|
|
+ next()
|
|
|
} else {
|
|
} else {
|
|
|
next()
|
|
next()
|
|
|
}
|
|
}
|