修复性别修改问题

This commit is contained in:
xxy
2020-05-16 03:05:49 +08:00
parent b8b074d40a
commit e24e87b546
6 changed files with 14 additions and 7 deletions

View File

@ -59,7 +59,7 @@
dataType: "json",
success: function (data) {
if (data.code == 200) {
if(data.data.userSex === 0){
if(data.data.userSex === '0'){
$("input[name=sex]").eq(0).attr("checked",true);
}