修改:解决谷歌支付调方法时机问题

This commit is contained in:
2025-11-27 15:04:26 +08:00
parent 26cef66e82
commit 277b6cf0b6

View File

@@ -228,7 +228,6 @@
} }
const handleRecharge = async () => { const handleRecharge = async () => {
getPlaceOrderObj()
if (!state.value) { if (!state.value) {
uni.showToast({ uni.showToast({
title: t('order.readAgreeServices'), title: t('order.readAgreeServices'),
@@ -236,6 +235,7 @@
}) })
return return
} }
getPlaceOrderObj()
uni.showLoading({ title: '生成订单中...' }) uni.showLoading({ title: '生成订单中...' })
} }