diff --git a/src/main.js b/src/main.js index feac10a03..0d0339511 100644 --- a/src/main.js +++ b/src/main.js @@ -53,7 +53,7 @@ import { webLoginType } from '@/sysConfig' import VConsole from 'vuex' -import isMobile from "./store/isMobile"; +import isMobile from './store/isMobile'; import { getCode, toIdmLoginPage, loginInIdm, loginInPhone, close } from '@/utils/login' router.beforeEach((to, from, next) => { @@ -99,7 +99,7 @@ router.beforeEach((to, from, next) => { } else { if (getCode()) { loginInIdm(getCode()).then(() => { - let path = to.fullPath.replace('code=' + getCode(), '') + const path = to.fullPath.replace('code=' + getCode(), '') next({ path }) }) } else { diff --git a/src/pages/blankPage/index.vue b/src/pages/blankPage/index.vue index 117a20ca7..44cc48149 100644 --- a/src/pages/blankPage/index.vue +++ b/src/pages/blankPage/index.vue @@ -9,18 +9,18 @@