1/features/account.feature:16:in `And I make sure the vendor[tos] box is checked'When /^I make sure the (.*) box is checked$/ do |box|我的env.rbtype="checkbox" name="v
item_add a ').on('click', function(e) { //do stuff inherent to both 当我点击一个链接[.item add a]时,有没有办法阻止默认的滚动操作,同时仍然保留选中和取消选中复选框input[name=boxes]的默认操作,而不将这两个操作分成单独的onclick函数?