尝试修改登录
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -26,7 +26,7 @@ router.beforeEach(async (to, from, next) => { | ... | @@ -26,7 +26,7 @@ router.beforeEach(async (to, from, next) => { |
| 26 | const menuStore = useMenuStore() | 26 | const menuStore = useMenuStore() |
| 27 | const routeStore = useRouteStore() | 27 | const routeStore = useRouteStore() |
| 28 | settingsStore.settings.app.enableProgress && (isLoading.value = true); | 28 | settingsStore.settings.app.enableProgress && (isLoading.value = true); |
| 29 | if (to.query.code && localStorage.getItem('state') != to.query.state) { | 29 | if (to.query.code) { |
| 30 | next(); | 30 | next(); |
| 31 | return; | 31 | return; |
| 32 | } | 32 | } | ... | ... |
-
Please register or sign in to post a comment