Authored by 郭成尧

'shopid-undefined-handle'

... ... @@ -147,5 +147,5 @@
{{> common/suspend-cart}}
{{/ goodList}}
<input type="text" class="domain" style="display:none" value={{domain}}>
<input type="hidden" class="domain" value={{domain}}>
<input type="hidden" class="shopId shop-id" value={{shopId}}>
... ...
... ... @@ -110,7 +110,7 @@ ellipsis.init();
tip.show('网络断开连接了~');
}
});
} else if ($('.shopId').val()) {
} else if ($('.shopId').val() && $('.shopId').val() !== 'undefined') {
$.ajax({
url: '/product/index/baseShopFav',
data: {
... ...