Authored by 张帅

用户管理页面兼容微信头像

... ... @@ -140,7 +140,11 @@
if(value == null || value==""){
return "";
}
return '<div><img style="width: 60px;height: 60px" src="'+value+ '?imageView/2/w/60/h/60"/></div>';
var url = value;
if(value.indexOf("https://wx.qlogo.cn") < 0){
url = value+ '?imageView/2/w/60/h/60';
}
return '<div><img style="width: 60px;height: 60px" src="'+url+'"/></div>';
}
}, {
title: "数据统计",
... ...
... ... @@ -197,7 +197,11 @@
if(value == null || value==""){
return "";
}
return '<div><img style="width: 60px;height: 60px" src="'+value+'?imageView/2/w/60/h/60"/></div>';
var url = value;
if(value.indexOf("https://wx.qlogo.cn") < 0){
url = value+ '?imageView/2/w/60/h/60';
}
return '<div><img style="width: 60px;height: 60px" src="'+url+'"/></div>';
}
}, {
title: "签名",
... ...