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/tabBarIndex.vue |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/pages/tabBar/tabBarIndex.vue b/pages/tabBar/tabBarIndex.vue
index b9c0e1b..f389843 100644
--- a/pages/tabBar/tabBarIndex.vue
+++ b/pages/tabBar/tabBarIndex.vue
@@ -42,12 +42,9 @@
 		methods: {
 			click_page(item){
 				let page = '/' + item;
-				uni.switchTab({
-					url: page,
-					success:function(res){
-						console.log(res);
-						console.log("成功")
-					}
+				console.log("跳转",item)
+				uni.reLaunch({
+					url: page
 				})
 			}
 		}
@@ -61,6 +58,7 @@
 	background-color: red;
 	z-index: 9999;
 	width: 100%;
+  box-shadow: 0 -3px 12px rgba(0,0,0,0.05);
 }
 .u-page__item__slot-icon{
 	width: 24px;

--
Gitblit v1.9.2