diff --git a/src/user/ticket/index.tsx b/src/user/ticket/index.tsx
index 024811c..bc94a3e 100644
--- a/src/user/ticket/index.tsx
+++ b/src/user/ticket/index.tsx
@@ -460,7 +460,7 @@ const UserTicketList = () => {
}
try {
await rollbackUserTicketAfterOrderCancel(order, beforeTicket);
- Taro.showToast({ title: '订单已取消,水票已退回', icon: 'success' });
+ Taro.showToast({ title: '订单已取消,水票已退回', icon: 'none' });
} catch (e) {
console.error('取消订单后退回水票失败:', e);
await Taro.showModal({
diff --git a/src/user/ticket/use.tsx b/src/user/ticket/use.tsx
index 8e5ca07..9708278 100644
--- a/src/user/ticket/use.tsx
+++ b/src/user/ticket/use.tsx
@@ -918,17 +918,17 @@ const OrderConfirm = () => {
if (noTicketPromptedRef.current) return
noTicketPromptedRef.current = true
- ;(async () => {
- const r = await Taro.showModal({
- title: '暂无可用水票',
- content: '您当前没有可用水票,购买后再来下单更方便。',
- confirmText: '去购买',
- cancelText: '暂不'
- })
- if (r.confirm) {
- await goBuyTickets()
- }
- })()
+ // ;(async () => {
+ // const r = await Taro.showModal({
+ // title: '暂无可用水票',
+ // content: '您当前没有可用水票,购买后再来下单更方便。',
+ // confirmText: '去购买',
+ // cancelText: '暂不'
+ // })
+ // if (r.confirm) {
+ // await goBuyTickets()
+ // }
+ // })()
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [noUsableTickets, isEditMode])
@@ -1185,7 +1185,10 @@ const OrderConfirm = () => {