Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
mingchiuli committed Jan 15, 2025
1 parent 948bf52 commit bba0a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ router.beforeEach(async (to, _from) => {
//页面被手动刷新
if (!to.name || !router.hasRoute(to.name)) {
if (!authMarkStore().auth) {
authMarkStore().auth = true
allKindsInfo = await GET<MenusAndButtons>('/auth/menu/nav')
callBackRequireRoutes(allKindsInfo)
dealSysTab(to, allKindsInfo)
authMarkStore().auth = true
return to.fullPath
}
} else {
Expand Down

0 comments on commit bba0a1b

Please sign in to comment.