window.addEventListener("fnProtocol", function(event) {
var isChalss = $("#selectCheck").is(":checked");
console.log(isChalss);
if(!isChalss) {
$("#selectCheck").prop("checked", 'checked');
}
});
在使用input chackBox 时,checkbox二次赋值后无反应,
第一次为attr(),第一次有效,第二次无效,改成prop()可以了。