Commit 10c027acfc6794cbb73f701e9dfa2ef4cdc42417
Merge branch 'dev' into 'test'
礼包前端的优化 See merge request !1007
Showing
1 changed file
with
1 additions
and
1 deletions
pages/giftpack/giftpacklist/giftpacklist.js
... | ... | @@ -217,7 +217,7 @@ Page({ |
217 | 217 | giftTitle: res.data.data.giftTitle, |
218 | 218 | default_color: res.data.data.bgcolor |
219 | 219 | }) |
220 | - if (res.data.data.giftRemark == '') { | |
220 | + if (!res.data.data.giftRemark || res.data.data.giftRemark == '') { | |
221 | 221 | th.setData({ |
222 | 222 | giftRemark: '暂无详情......' |
223 | 223 | }) | ... | ... |