From e05c10156abdac3f09fe58ad00bb4884bfa5cbf6 Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Mon, 11 Mar 2024 15:34:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E8=BD=A6=E5=8A=A8=E6=80=81=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9C=89=E6=B2=A1=E6=9C=89=E8=AF=84=E8=AE=BA=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/request.js | 3 +- .../enroll/registInfo/chooseCoach/chooseCoach.vue | 6 ++-- pages/tabbar/index/index.vue | 2 -- pages/tabbar/learnCar/comp/subject2.vue | 4 +-- pages/tabbar/learnCar/comp/subject3.vue | 4 +-- pages/tabbar/learnCar/comp/topInfo.vue | 4 +-- pages/tabbar/learnCar/index.vue | 14 ++++++---- pages/userCenter/login/login.vue | 32 ++++++++++++++++------ store/modules/user.js | 23 +++++++++++++--- 9 files changed, 62 insertions(+), 30 deletions(-) diff --git a/config/request.js b/config/request.js index ef8a7e3..55a484e 100644 --- a/config/request.js +++ b/config/request.js @@ -57,7 +57,8 @@ module.exports = (vm) => { } } if(data.code==401) { - vm.$store.commit('goLogin') + + vm.$store.commit('goLogin', true) } // 自定义参数 diff --git a/pages/indexEntry/enroll/registInfo/chooseCoach/chooseCoach.vue b/pages/indexEntry/enroll/registInfo/chooseCoach/chooseCoach.vue index 7f8a107..276ccf5 100644 --- a/pages/indexEntry/enroll/registInfo/chooseCoach/chooseCoach.vue +++ b/pages/indexEntry/enroll/registInfo/chooseCoach/chooseCoach.vue @@ -1,5 +1,5 @@ @@ -72,8 +73,7 @@