Authored by zhangxiaoru

error

... ... @@ -71,7 +71,8 @@ let getCateData = (channel) => {
}, {
cache: true
}).then((result) => {
if (!result.code || result.code !== 200 || !result.data) {
if (!result || !result.code || result.code !== 200 || !result.data) {
return [];
}
... ...
... ... @@ -862,6 +862,10 @@ if ($brandHeader.data('isbaseshop') === true) {
url: location.protocol + '//m.yohobuy.com/product/search/filter',
data: defaultOpt,
success: function(data) {
if (data === '') {
return false;
}
$goodsContainer.append(data);
// 初始化filter&注册filter回调
... ...