diff --git a/components/order/Confirm.vue b/components/order/Confirm.vue index cb2cb52..51d0f21 100644 --- a/components/order/Confirm.vue +++ b/components/order/Confirm.vue @@ -394,15 +394,14 @@ const handleSubmit = async () => { // 返回上一页 setTimeout(() => { + submitLoading.value = false uni.navigateBack({ delta: props.backStep }) }, 500) } catch (error) { - console.error('提交订单失败:', error) - } finally { - // 无论成功还是失败,都要重置loading状态 submitLoading.value = false + console.error('提交订单失败:', error) } }