@@ -137,12 +137,21 @@ router.beforeEach(async(to, from, next) => {
} else {
// 没有登录的时候跳转到登录界面
// 携带上登陆成功之后需要跳转的页面完整路径
- next({
- name: 'login',
- query: {
- redirect: to.fullPath
- }
- })
+ if (to.fullPath !== '/refresh') {
+ next({
+ name: 'login',
+ query: {
+ redirect: to.fullPath
+ }
+ })
+ } else {
+ redirect: '/dashboard'
NProgress.done()
}
@@ -51,7 +51,7 @@ clearable>
</van-form>
<switch-environment v-if="$nodeEnv === 'development'" class="ibps-mt ibps-text-center" type="link" />
<div v-if="outSideSingInShow" class="outSideSingInClass">
- <span @click="goOutSideSingIn()">非内部人员签到</span>
+ <!-- <span @click="goOutSideSingIn()">非内部人员签到</span> -->
</div>
<div class="copyright">