diff --git a/pages/Loading/index.vue b/pages/Loading/index.vue index 93c4064..996fcdd 100644 --- a/pages/Loading/index.vue +++ b/pages/Loading/index.vue @@ -1,7 +1,12 @@ @@ -50,7 +55,8 @@ export default { } console.log('进行登录操作') login().finally(() => { - this.$yrouter.switchTab({ + this.changeAuthorization(false) + this.$yrouter.replace({ path: '/pages/home/index', }) }) diff --git a/pages/authorization/index.vue b/pages/authorization/index.vue index 7c43a22..952f45c 100644 --- a/pages/authorization/index.vue +++ b/pages/authorization/index.vue @@ -1,19 +1,32 @@