From 277d6652893fcc10fb6827b62ef16fe2910a525c Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期五, 15 十二月 2023 16:58:25 +0800 Subject: [PATCH] 强制更新功能 --- pages/tabBar/examine/examine.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/tabBar/examine/examine.vue b/pages/tabBar/examine/examine.vue index a9c222f..840758d 100644 --- a/pages/tabBar/examine/examine.vue +++ b/pages/tabBar/examine/examine.vue @@ -10,7 +10,7 @@ <u-icon style=" margin-left: 13px;" name="arrow-left" color="black" size="17" @click="goBack" /> <view class="barText">工作通知审核</view> <view > - <u-button type="text" @click="loginOut" style="color: blue;margin-right: 5px;">退出</u-button> + <u-button type="text" @click="loginOut" style="color: #1890ff;margin-right: 5px;width: 65px;">退出</u-button> </view> </view> </view> @@ -196,6 +196,8 @@ }, toDetail(item) { console.log("item",item) + uni.setStorageSync('backFlag','examine'); + console.log("uunget",uni.getStorageSync('backFlag')) uni.navigateTo({ url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(item)) }) @@ -206,7 +208,7 @@ setTimeout(() => { uni.stopPullDownRefresh(); this.getExanineList(); - }, 1000); + }, 2000); }, clickSwitch(e) { this.getExanineList(); @@ -259,6 +261,7 @@ box-shadow: 0 3px 12px rgba(0,0,0,0.05); } .barText{ + margin-left: 20px; text-align: center; width: 85%; font-size: 16px; -- Gitblit v1.9.2