From afd46517f1551bc15768c5cc6bcd55ee3e82e95b Mon Sep 17 00:00:00 2001
From: anyv <anyu@bronet.cn>
Date: Tue, 4 Jun 2019 19:44:30 +0800
Subject: [PATCH] 5

---
 public/themes/simpleboot3/portal/shopcart/shop_cart.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
     }
 
     // 计算总计
--
libgit2 0.24.0