'shopid-undefined-handle'
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -147,5 +147,5 @@ | @@ -147,5 +147,5 @@ | ||
147 | {{> common/suspend-cart}} | 147 | {{> common/suspend-cart}} |
148 | {{/ goodList}} | 148 | {{/ goodList}} |
149 | 149 | ||
150 | -<input type="text" class="domain" style="display:none" value={{domain}}> | 150 | +<input type="hidden" class="domain" value={{domain}}> |
151 | <input type="hidden" class="shopId shop-id" value={{shopId}}> | 151 | <input type="hidden" class="shopId shop-id" value={{shopId}}> |
@@ -110,7 +110,7 @@ ellipsis.init(); | @@ -110,7 +110,7 @@ ellipsis.init(); | ||
110 | tip.show('网络断开连接了~'); | 110 | tip.show('网络断开连接了~'); |
111 | } | 111 | } |
112 | }); | 112 | }); |
113 | - } else if ($('.shopId').val()) { | 113 | + } else if ($('.shopId').val() && $('.shopId').val() !== 'undefined') { |
114 | $.ajax({ | 114 | $.ajax({ |
115 | url: '/product/index/baseShopFav', | 115 | url: '/product/index/baseShopFav', |
116 | data: { | 116 | data: { |
-
Please register or login to post a comment