代码优化,解决手机号不显示的问题
This commit is contained in:
@@ -434,7 +434,7 @@ function selectUserInfo(){
|
||||
var mobile = result.mobile;
|
||||
//加载个人信息时候为该变量赋值
|
||||
_mobile = result.mobile;
|
||||
$('#user_mobile').html(mobile.substring(0,3)+'****'+mobile.substring(7)+'<br><span class="tag"><!--<small>土豪</small>--></span>');
|
||||
$('#user_mobile').html('<br><span class="tag"><small>'+mobile.substring(0,3)+'****'+mobile.substring(7)+'</small></span>');
|
||||
if(result.headImg != null && result.headImg.length > 0){
|
||||
$('#user_headImg').attr('src', result.headImg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user