提交 c1fbff7c107ca00ff4d439120dbf876db2d22b6c

作者 wangyu
1 个父辈 abb35494

优化

... ... @@ -80,7 +80,7 @@ App({
80 80 that.configOssUrl()
81 81 if (relaunch) {
82 82 wx.reLaunch({
83   - url: 'guide'
  83 + url: '../guide/guide'
84 84 })
85 85 }
86 86 }
... ...
... ... @@ -208,14 +208,15 @@ Page({
208 208 if (!title){
209 209 title = titleData['original_column']
210 210 }
211   - if (!value) {
  211 + if (value!=0&&!value) {
212 212 value = data[titleData['key']]
213 213 if(value != undefined){
214 214 value += 'tax_rate' == titleData['key'] ? '%' : ''
215 215 }
216 216 }
217   - if (!title || !value) continue;
218   - if (mapping_keys.indexOf(titleData['key']) == -1) continue;
  217 + if (!title ) continue;
  218 + if (!title || (value!=0&&!value)) continue;
  219 + // if (mapping_keys.indexOf(titleData['key']) == -1 && (value == '0' || value == 0)) continue;
219 220 details.push({
220 221 title: title,
221 222 value: value
... ...
注册登录 后发表评论