Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -282,7 +282,7 @@ Page({ | @@ -282,7 +282,7 @@ Page({ | ||
| 282 | signboard = util.determine(data.signboard); | 282 | signboard = util.determine(data.signboard); |
| 283 | store = util.determine(data.store); | 283 | store = util.determine(data.store); |
| 284 | home = util.determine(data.home); | 284 | home = util.determine(data.home); |
| 285 | - let coupon=util.determine(marketing.coupon_data) | 285 | + let coupon=marketing?util.determine(marketing.coupon_data):'' |
| 286 | // is_cash 代金券 is_discount折扣券 is_dish菜品券 只有代金券有几折显示 | 286 | // is_cash 代金券 is_discount折扣券 is_dish菜品券 只有代金券有几折显示 |
| 287 | if(coupon && util.getType(coupon)=='object'){ | 287 | if(coupon && util.getType(coupon)=='object'){ |
| 288 | coupon.stringifyUse=JSON.stringify(coupon.use) | 288 | coupon.stringifyUse=JSON.stringify(coupon.use) |
-
Please register or login to post a comment