@@ -67,7 +67,7 @@ export default {
subsidizedProductEdit({ subsidyAmount: _this.subsidyAmount, productSns: _this.itemSn }).then(res => {
if (res.status == 200) {
if (res.data) {
- this.getErrorInfo(res.data)
+ _this.getErrorInfo(res.data)
} else {
_this.$message.success(res.message)
_this.$emit('ok')
@@ -239,13 +239,14 @@ export default {
},
// 报错弹窗
getErrorInfo (infoTip) {
+ const _this = this
this.$info({
title: '提示',
content: infoTip,
centered: true,
onOk () {
console.log('我知道了')
- this.clearChooseData()
+ _this.clearChooseData()
}
})