Showing
1 changed file
with
2 additions
and
2 deletions
@@ -506,10 +506,10 @@ | @@ -506,10 +506,10 @@ | ||
506 | } | 506 | } |
507 | }); | 507 | }); |
508 | 508 | ||
509 | - $(document).on('click', '.group-size input', function(item) { | 509 | + $(document).on('click', '.group-size input', function() { |
510 | var colorName = goodsName = ''; | 510 | var colorName = goodsName = ''; |
511 | 511 | ||
512 | - if (that.productId && $(item).attr('exist') == 'true') { | 512 | + if (that.productId && $(this).attr('exist') == 'true') { |
513 | $.messager.alert('操作提示', '尺码不可修改!'); | 513 | $.messager.alert('操作提示', '尺码不可修改!'); |
514 | return false; | 514 | return false; |
515 | } | 515 | } |
-
Please register or login to post a comment