Authored by 姜枫

fix bugs

... ... @@ -247,7 +247,7 @@ const helpers = {
}
sorts = sorts[0].sub;
} else if (sorts && sorts.length > 1){
} else if (sorts && sorts.length > 1) {
_.forEach(sorts, s => {
_.forEach(s.sub, ss => {
... ...
... ... @@ -108,7 +108,7 @@ const ShopService = {
});
sortArray = sortArray.sort((s1, s2) => {
return s2.count - s1.count;
return s2.count - s1.count;
});
}
return sortArray;
... ...