修复性别修改问题

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

@ -65,7 +65,7 @@ if(!token){
success: function(data){
if(data.code == 200){
$(".user_link").html("<i class=\"line mr20\">|</i>" +
"<a href=\"/user/userinfo.html\" class=\"mr15\">"+data.data.username+"</a>" +
"<a href=\"/user/userinfo.html\" class=\"mr15\">"+data.data.nickName+"</a>" +
"<a href=\"javascript:logout()\" >退出</a>");
;
if("/user/login.html" == window.location.pathname){