From 032ff5ffbbbdfa6ecbbb8010d22a5bee1dd6c9fb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 16 七月 2025 10:19:18 +0800 Subject: [PATCH] 解决主包过大问题 --- components/custom-tabbar.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/components/custom-tabbar.vue b/components/custom-tabbar.vue index 5fb34e7..7b2217d 100644 --- a/components/custom-tabbar.vue +++ b/components/custom-tabbar.vue @@ -80,7 +80,7 @@ switchTab(item) { console.log("鎵ц鍔�", item); if (this.selected === item.key) return; - uni.switchTab({ + uni.redirectTo({ url: item.pagePath }); } -- Gitblit v1.8.0