From 3f6372d38ef7c573542bef5760060009ce2f6b64 Mon Sep 17 00:00:00 2001 From: From-wh Date: Tue, 20 Oct 2026 16:41:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=A7=BB=E5=8A=A8=E7=AB=AF):=20DIY=20?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BB=84=E4=BB=B6=20url=20=E9=93=BE?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=A4=B1=E8=B4=A5=E6=97=B6=E5=9B=9E=E9=80=80?= =?UTF-8?q?=20switchTab=20=E6=89=93=E5=BC=80=20tabBar=20=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uni-app/src/subpackage/diyComponents/customComponent.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/uni-app/src/subpackage/diyComponents/customComponent.vue b/frontend/uni-app/src/subpackage/diyComponents/customComponent.vue index 7da431c8b..14fb0e3d3 100644 --- a/frontend/uni-app/src/subpackage/diyComponents/customComponent.vue +++ b/frontend/uni-app/src/subpackage/diyComponents/customComponent.vue @@ -1027,7 +1027,10 @@ function handleUserClick(item) { if (item.propValue.linkType === "url") { uni.navigateTo({ url: item.propValue.link, - }); + fail: () => { + uni.switchTab({ url: item.propValue.link }); + }, + }) } } else if (!isLogin.value) { emit("changeLogin"); // Trigger login modal via parent