🦀️ fix: 修复bug
This commit is contained in:
parent
ff0807f91b
commit
e1d95ca065
|
@ -264,11 +264,11 @@
|
|||
req.axiosPost("/voucher/grant", params)
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
self.openErrorDialog('领取成功');
|
||||
this.openErrorDialog('领取成功');
|
||||
this.goodInfo.available = 9;
|
||||
sessionStorage.setItem('goodInfo', JSON.stringify(this.goodInfo));
|
||||
} else {
|
||||
self.openErrorDialog(res.message);
|
||||
this.openErrorDialog(res.message);
|
||||
}
|
||||
})
|
||||
.catch((err) => { this.loading = false; });
|
||||
|
|
Loading…
Reference in New Issue