mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
微调支付收银界面,缺少 success 参数
This commit is contained in:
parent
105f1a2707
commit
27b8202053
@ -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)
|
||||
|
@ -302,24 +302,6 @@ 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 {
|
||||
font-size: 12px;
|
||||
padding: 2px 0;
|
||||
|
Loading…
Reference in New Issue
Block a user