From 7b896ceee4574466d3973e3c1b9bf8262ce787e4 Mon Sep 17 00:00:00 2001 From: Gaoxs Date: Wed, 26 Apr 2023 14:55:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E7=99=BB=E5=BD=95=E7=9A=84=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Loading/index.vue | 10 ++- pages/authorization/index.vue | 163 +++++++++++++++++++--------------- pages/user/User/index.vue | 138 ++++++++++++++++++++++------ 3 files changed, 212 insertions(+), 99 deletions(-) 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 @@