$("input[name=gender]").val([employee.gender]); // employee 为对象 gender为属性 复选框 $(".form-control").val([employee.dId]); // employee为对象 dId为属性 下拉框