mirror of
https://gitee.com/lyt-top/vue-next-admin
synced 2026-07-04 21:03:16 +08:00
'admin-21.04.22:部分电脑登录后首屏卡断问题,使用location.href替代router.push'
This commit is contained in:
@ -177,7 +177,7 @@ export default {
|
||||
// 存储用户信息到vuex
|
||||
this.$store.dispatch('userInfos/setUserInfos', userInfos);
|
||||
PrevLoading.start();
|
||||
this.$router.push('/');
|
||||
window.location.href = `${window.location.origin}${window.location.pathname}`;
|
||||
setTimeout(() => {
|
||||
this.$message.success(`${this.currentTime},${this.$t('message.login.signInText')}`);
|
||||
}, 300);
|
||||
|
||||
Reference in New Issue
Block a user