'shop-fav-shopid-isnull'
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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().length > 0) { | 113 | + } else if ($('.shopId').val()) { |
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