优化规格选择
This commit is contained in:
@@ -123,9 +123,15 @@ async function checkPayStauts() {
|
||||
try {
|
||||
const res = await queryOrder({ orderId: props.orderId })
|
||||
if (res.status == 'closed') {
|
||||
ElMessage.success('支付成功')
|
||||
emits('success')
|
||||
return
|
||||
} if (res.status == 'paying') {
|
||||
ElMessage.warning('用户支付中...')
|
||||
return
|
||||
} else {
|
||||
ElMessage.error(res.payRemark || '支付失败!')
|
||||
return
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
|
||||
Reference in New Issue
Block a user