🎈 perf(提交订单时添加loading):
This commit is contained in:
parent
b99586c9d5
commit
b893c5a77d
@ -151,7 +151,12 @@ const Comfirm = () => {
|
||||
})
|
||||
if (showModalRes.confirm) {
|
||||
await openSubscriptionMessage({ scenes: SubmitOrder.value })
|
||||
Taro.showLoading({
|
||||
title: '订单提交中...',
|
||||
mask: true,
|
||||
})
|
||||
const res = await saleOrderFetchData(submitOrderData)
|
||||
Taro.hideLoading()
|
||||
if (res.success) {
|
||||
goLink('/pages/order/index', { id: res.data.id }, 'redirectTo')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user