Authored by 王水玲

Merge branch 'hotfix/single' of git.yoho.cn:fe/yohobuywap-node into hotfix/single

... ... @@ -57,7 +57,7 @@ const shopNav = (channelId) => {
code: 200
}).then((result) => {
if (result.data) {
if (result.data.length === 1 && result.data[0] === 'NULL') {
if (result.data.length === 0 || (result.data.length === 1 && result.data[0] === 'NULL')) {
return false;
} else {
return result.data;
... ...
... ... @@ -192,7 +192,8 @@ function shopNavData() {
if (data === false) {
shopListData('null');
$('.shop-nav').hide();
return;
// return;
}
$('.shop-nav').html(navString);
... ...