fix: 修复授权后进入tabbar卡死的问题

This commit is contained in:
Gaoxs
2023-05-16 15:20:22 +08:00
parent 22877da6ba
commit 9fc48efc2a

View File

@ -56,7 +56,7 @@ export default {
console.log('进行登录操作')
login().finally(() => {
this.changeAuthorization(false)
this.$yrouter.replace({
this.$yrouter.switchTab({
path: '/pages/home/index',
})
})