From eb0c1779060cab341705c887b82273a325805013 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Tue, 4 Jun 2019 19:56:38 +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 61e4133..0607912 100644 --- a/public/themes/simpleboot3/portal/shopcart/shop_cart.html +++ b/public/themes/simpleboot3/portal/shopcart/shop_cart.html @@ -118,7 +118,7 @@ function datadel(){ ids = $('.add'); console.log(ids); - console.log(ids[0].dataset); + console.log(ids[0].dataset.id); goods_id = []; /* for(i=0;i<ids.length;i++){ goods_id[i] = ids[i].data('id'); -- libgit2 0.24.0