diff --git a/reduce.html b/reduce.html index 1a2e88c..175d705 100644 --- a/reduce.html +++ b/reduce.html @@ -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; });