a4ed9356 by lihua

尝试修改登录

1 parent 2192cb82
......@@ -26,7 +26,7 @@ router.beforeEach(async (to, from, next) => {
const menuStore = useMenuStore()
const routeStore = useRouteStore()
settingsStore.settings.app.enableProgress && (isLoading.value = true);
if (to.query.code && localStorage.getItem('state') != to.query.state) {
if (to.query.code) {
next();
return;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!