付延余
2023-03-24 eb9ae89c3e9f66fe5d0f39092a41e5c09bd86fc6
pages/login/login.vue
@@ -92,7 +92,6 @@
         });
         this.$nextTick(() => {
            apiLoginWx({ code: uni.getStorageSync('openid') }).then(res => {
               uni.hideLoading();
               if (res.code != 1) {
                  this.$u.toast('恭喜您,登录成功!');
                  // 登陆成功,存储相关信息
@@ -104,6 +103,7 @@
                     this.setUserTabbar(res.data.type);
                     uni.setStorageSync('roleType', res.data.type);
                     setCustomerId(res.data.customerid);
                     uni.hideLoading();
                     //跳转页面
                     this.$nextTick(() => {
                        redirectHome();