From e2a8ed4e3218384e7cae0af5a2515330056af3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Wed, 10 Dec 2025 00:14:09 +0800 Subject: [PATCH] 1 --- src/order_pages/orderDetail/index.tsx | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/order_pages/orderDetail/index.tsx b/src/order_pages/orderDetail/index.tsx index d177b23..9948e56 100644 --- a/src/order_pages/orderDetail/index.tsx +++ b/src/order_pages/orderDetail/index.tsx @@ -626,10 +626,6 @@ const OrderCheck = () => { return; // 未登录或未绑定手机号,已跳转到登录页 } setPaying(true); - Taro.showLoading({ - title: "支付中...", - mask: true, - }); let payment_params = {}; try { @@ -641,7 +637,6 @@ const OrderCheck = () => { }); } await payOrder(payment_params); - Taro.hideLoading(); Taro.showToast({ title: "支付成功", icon: "success", @@ -655,7 +650,6 @@ const OrderCheck = () => { // delta: 1, // }); } catch (error) { - Taro.hideLoading(); Taro.showToast({ title: error.message, icon: "none", @@ -717,15 +711,16 @@ const OrderCheck = () => { {(!id || (order_status === OrderStatus.PENDING && - cancel_type === CancelType.NONE)) && - !paying && ( + cancel_type === CancelType.NONE)) && ( )}