@@ -71,7 +71,7 @@
this.status = 'loading'
couponData({couponCode:code}).then(res=>{
this.status = 'onmore'
- if (res.status == 200) {
+ if (res.status == 200 && res.data) {
this.couponInfo = res.data
this.isDisabled = false
} else {