pages/tabBar/firstPage/firstPage.vue
@@ -10,7 +10,7 @@ </view> </view> <view class="list"> <view class="first" @click="goExamine"> <view class="first" @click="goExamine" v-if="role == '审核领导'"> 预警审核 </view> <view class="first" @@ -55,6 +55,8 @@ //获取手机状态栏高度 this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight']; uni.hideTabBar(); this.role = uni.getStorageSync('roleName'); console.log("role",this.role) }, methods: { goExamine() {