changemessage

This commit is contained in:
summation
2022-01-23 13:46:22 +08:00
parent df498f597a
commit 2ff3a5d256
4 changed files with 333 additions and 320 deletions

View File

@@ -113,7 +113,8 @@ export default {
computed: {},
mounted() {
this.userPayData = JSON.parse(this.$route.query.userPayData);
this.qrtext=this.userPayData.wxPay
this.qrtext=this.userPayData.wxPay;
this.payOrderWX()
},
methods: {
closeDialogSuccess() {
@@ -141,15 +142,15 @@ export default {
}
},
//支付监听
async updateOrderWX() {
async payOrderWX() {
let res = await updateOrderWX();
if (res.success) {
this.qrtext = '成功加入群的二维码';
this.dialogSuccess = true;
clearInterval(this.time);
} else {
} else if (res.fail) {
this.dialogFail = true;
clearInterval(this.time);
}else{
this.payOrderWX()
}
},
},