diff --git a/public/themes/simpleboot3/portal/shopcart/shop_cart.html b/public/themes/simpleboot3/portal/shopcart/shop_cart.html index 4f47a9c..01ae236 100644 --- a/public/themes/simpleboot3/portal/shopcart/shop_cart.html +++ b/public/themes/simpleboot3/portal/shopcart/shop_cart.html @@ -117,7 +117,7 @@ */ function datadel(){ $ids = $('.add'); - console.log($ids.0.dataset); + console.log($ids.eq(0).dataset); } // 计算总计