Authored by 陈峰

Merge remote-tracking branch 'origin/hotfix/fixundefinedbug' into hotfix/bugs

... ... @@ -55,7 +55,9 @@ module.exports = {
cache: true
});
}
if (!data) {
return;
}
data = data.data;
if (data && data.floors) {
data.floors.forEach(function(f) {
... ...
... ... @@ -31,7 +31,7 @@ module.exports = {
cache: true
}).then(res => {
var data = [],
lst = (res.data && res.data.product_list) || [];
lst = (res && res.data && res.data.product_list) || [];
lst.forEach(function(o) {
o && data.push(_getProduct(o));
... ...