fix(OrdersPage): 替换支付功能跳转为提示信息
由于支付功能暂未开放,将跳转至支付页面的逻辑替换为提示信息,避免用户误操作
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -207,7 +207,7 @@ const onLoad = async () => { | ... | @@ -207,7 +207,7 @@ const onLoad = async () => { |
| 207 | 207 | ||
| 208 | // 支付订单 | 208 | // 支付订单 |
| 209 | const handlePay = (order) => { | 209 | const handlePay = (order) => { |
| 210 | - router.push(`/checkout/${order.id}`) | 210 | + showToast('支付功能暂未开放'); |
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | // 查看订单详情 | 213 | // 查看订单详情 | ... | ... |
-
Please register or login to post a comment