$("input[name=sex][value=女]").attr("checked", data.data.adminInfoEntity.adminInfoSex == 1 ? true : false);$("input[name=sex][value=男]").attr("checked", data.data.adminInfoEntity.adminInfoSex == 2 ? true : false);$("input[name=sex][value=保密]").attr("checked", data.data.adminInfoEntity.adminInfoSex == 0 ? true : false);
/** * 更新全部 需要写上...不然显示出不来 */form.render();
原文地址:https://www.cnblogs.com/zhunong/p/12388906.html
时间: 2024-11-06 13:27:51