Showing
1 changed file
with
3 additions
and
1 deletions
@@ -80,7 +80,9 @@ var brandCoupon = { | @@ -80,7 +80,9 @@ var brandCoupon = { | ||
80 | if (res.code === 200) { | 80 | if (res.code === 200) { |
81 | callback(); // eslint-disable-line | 81 | callback(); // eslint-disable-line |
82 | } else { | 82 | } else { |
83 | - tip.show(res.message); | 83 | + tip.show( |
84 | + res.message || '抱歉,您不符合领用条件' | ||
85 | + ); | ||
84 | 86 | ||
85 | if (res.redirect) { | 87 | if (res.redirect) { |
86 | setTimeout(function() { | 88 | setTimeout(function() { |
-
Please register or login to post a comment