优化规格

This commit is contained in:
gyq
2024-03-13 18:26:57 +08:00
parent e058c97016
commit c68b36740f
6 changed files with 90 additions and 49 deletions

View File

@@ -107,14 +107,10 @@ async function submitHandle() {
async function checkPayStauts() {
try {
const res = await queryOrder({ orderId: props.orderId })
loading.value = false
if (res.status == 'closed') {
emits('success')
scanModalRef.value.close()
} else {
checkPayStatusLoading.value = false
ElMessage.error(res.payRemark || '支付失败!')
scanModalRef.value.loading = false
}
} catch (error) {
console.log(error)
@@ -254,7 +250,7 @@ defineExpose({
.pay_wait {
flex: 1;
padding: 0 var(--el-font-size-base);
height: 600px;
height: 400px;
padding-bottom: 100px;
display: flex;
flex-direction: column;