@@ -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')
@@ -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) {