pages/tabBar/firstPage/firstPage.vue
@@ -71,6 +71,7 @@ reviewStatus: null//1:未审核,2:已审核,3:审核已驳回 } }, role: '' } }, @@ -78,11 +79,12 @@ //获取手机状态栏高度 this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight']; uni.hideTabBar(); this.role = uni.getStorageSync('roleName'); console.log("role",this.role) }, onShow(){ this.role = uni.getStorageSync('roleName'); console.log("role",this.role) this.getNum(); }, methods: {