- 修正支付成功页面跳转URL,添加/index后缀以匹配正确的路由路径
@@ -286,7 +286,7 @@ export default function OrderPage() {
// 支付成功后跳转到支付成功页面
navigateTo({
- url: `/pages/pay-success?orderId=${order.id}&totalPrice=${totalPrice}&passengerCount=${passengers.length}`
+ url: `/pages/pay-success/index?orderId=${order.id}&totalPrice=${totalPrice}&passengerCount=${passengers.length}`
})
} catch (error) {