From 2cb26124675883fa1e2742ae7899c9fc791ed6a2 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期四, 27 七月 2023 14:27:43 +0800 Subject: [PATCH] 修改 --- pages/tabBar/firstPage/firstPage.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/tabBar/firstPage/firstPage.vue b/pages/tabBar/firstPage/firstPage.vue index 4087820..2d7b90d 100644 --- a/pages/tabBar/firstPage/firstPage.vue +++ b/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() { -- Gitblit v1.9.2