微调支付收银界面,缺少 success 参数

This commit is contained in:
YunaiV 2023-08-11 09:22:22 +08:00
parent 105f1a2707
commit 27b8202053
2 changed files with 4 additions and 22 deletions

View File

@ -238,7 +238,7 @@ export default {
if (data.status === PayOrderStatusEnum.SUCCESS.status) {
this.clearQueryInterval();
this.$message.success('支付成功!');
this.goReturnUrl();
this.goReturnUrl('success');
return
}
@ -321,13 +321,13 @@ export default {
if (response.data.status === PayOrderStatusEnum.SUCCESS.status) {
this.clearQueryInterval();
this.$message.success('支付成功!');
this.goReturnUrl();
this.goReturnUrl('success');
}
//
if (response.data.status === PayOrderStatusEnum.CLOSED.status) {
this.clearQueryInterval();
this.$message.error('支付已关闭!');
this.goReturnUrl();
this.goReturnUrl('close');
}
})
}, 1000 * 2)

View File

@ -302,25 +302,7 @@ export default {
font-weight: bold;
}
.tag-purple {
color: #722ed1;
background: #f9f0ff;
border-color: #d3adf7;
}
.tag-cyan {
color: #13c2c2;
background: #e6fffb;
border-color: #87e8de;
}
.tag-pink {
color: #eb2f96;
background: #fff0f6;
border-color: #ffadd2;
}
.order-font{
.order-font {
font-size: 12px;
padding: 2px 0;
}