From ef6a55112f0051b40429eae4dfbba99dc65c462f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 10 Mar 2026 13:43:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(water-delivery):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=80=81=E6=B0=B4=E5=8A=9F=E8=83=BD=E4=B8=AD=E7=9A=84=E7=A1=AC?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E5=95=86=E5=93=81ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了立即送水按钮中的固定商品ID参数 - 修改ensureLoggedIn函数调用,不再传递商品ID - 更新Taro.navigateTo路径,移除硬编码的goodsId参数 --- src/pages/index/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index 3ef2ba4..8bd3ac2 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -217,8 +217,8 @@ function Home() { title: '立即送水', icon: , onClick: () => { - if (!ensureLoggedIn('/user/ticket/use?goodsId=10074')) return - Taro.navigateTo({ url: '/user/ticket/use?goodsId=10074' }) + if (!ensureLoggedIn('/user/ticket/use')) return + Taro.navigateTo({ url: '/user/ticket/use' }) }, }, {