lyuis 7 meses atrás
pai
commit
c23e92268f
2 arquivos alterados com 2 adições e 1 exclusões
  1. 2 0
      pages/my/index.vue
  2. 0 1
      pages/public/loginphone.vue

+ 2 - 0
pages/my/index.vue

@@ -860,6 +860,8 @@
 				that.isVip = false;
 				that.companyInfo = '';
 			})
+			console.log(uni.getStorageSync("userType"))
+			this.$queue.changeTabbar(uni.getStorageSync("userType")||1)
 		},
 		onUnload(){
 			uni.$off('changeRole')

+ 0 - 1
pages/public/loginphone.vue

@@ -187,7 +187,6 @@
 								this.getIsVip();
 								uni.hideLoading();
 								this.$queue.setData("userType", res.user.userType);
-								this.$queue.changeTabbar(res.user.userType)
 								//判断是否开启身份选择 是/否
 								this.$Request.get("/app/common/type/339").then((rest) => {
 									if (rest.code == 0) {