Authored by zhangxiaoru

currency

@@ -96,6 +96,10 @@ const yohoCoinTotal = (uid)=> { @@ -96,6 +96,10 @@ const yohoCoinTotal = (uid)=> {
96 method: 'app.yoho.yohocoin', 96 method: 'app.yoho.yohocoin',
97 uid: uid 97 uid: uid
98 }).then(result => { 98 }).then(result => {
  99 +
  100 + if(!result.data.yohocoin_num || result.data.yohocoin_num === '') {
  101 + result.data.yohocoin_num = 0
  102 + }
99 return result; 103 return result;
100 }); 104 });
101 }; 105 };
@@ -66,4 +66,3 @@ $('#begin-time').on('change', function() { @@ -66,4 +66,3 @@ $('#begin-time').on('change', function() {
66 beginTime = Bll.getTime(new Date(), months); 66 beginTime = Bll.getTime(new Date(), months);
67 Bll.getDataList(type, page, beginTime); 67 Bll.getDataList(type, page, beginTime);
68 }); 68 });
69 -