Authored by htoooth

fix action

... ... @@ -69,7 +69,7 @@ export default {
commit(Types.FETCH_YOHO_COUPON_FAILED);
}
return result.data.couponList ? result.data.couponList.length !== 0 : false;
return result && result.data && result.data.couponList ? result.data.couponList.length !== 0 : false;
},
async fetchYohoNum({commit}) {
... ...