$('.input').prop('checked',true);
bootstrap 中 这个不管用 $('.input').attr('checked',true);
$('.input').prop('checked',true);
bootstrap 中 这个不管用 $('.input').attr('checked',true);
转载于:https://www.cnblogs.com/GoTing/p/11251999.html