Authored by 郭成尧

'base-shop-id-no-brand'

... ... @@ -295,6 +295,10 @@ function search(opt) {
$.extend(setting, defaultOpt, params);
/* if shop_id del brand */
if (shopId) {
delete setting.brand;
}
searching = true;
loading.showLoadingMask();
... ... @@ -381,6 +385,10 @@ function search(opt) {
}
// require('../../common/suspend-cart'); //悬浮购物车
if (shopId) {
delete defaultOpt.brand;
Object.assign(defaultOpt, {shop_id: shopId});
}
$.ajax({
type: 'GET',
... ...