fix(goods-card): 修复商品卡片跳转路径问题
- 修正了商品卡片中买水票按钮的跳转路径,添加了路由前缀斜杠以确保正确的页面导航
This commit is contained in:
@@ -313,7 +313,7 @@ function Home() {
|
||||
<View className="goods-card__actions">
|
||||
<View
|
||||
className="goods-card__btn goods-card__btn--ghost"
|
||||
onClick={() => Taro.navigateTo({ url: 'shop/orderConfirm/index?goodsId=10074' })}
|
||||
onClick={() => Taro.navigateTo({ url: '/shop/orderConfirm/index?goodsId=10074' })}
|
||||
>
|
||||
<Text className="goods-card__btnText">买水票更优惠</Text>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user