From 419ad623db22db5fa34e88ab771d2161fe12e920 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 01 八月 2023 16:08:25 +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