|
@@ -36,6 +36,9 @@ const router = createRouter({
|
|
|
|
|
|
router.beforeEach(async (to, from, next) => {
|
|
|
const mainStore = useMainStore()
|
|
|
+ if (to.name === 'Login') {
|
|
|
+ mainStore.setLockScreen(false)
|
|
|
+ }
|
|
|
if (
|
|
|
!mainStore.myUserInfo &&
|
|
|
sessionStorage.get('LOGIN_RESULT') &&
|