Commit 955e4d52 by 施宇

Merge branch 'sy_ic_1016'

parents 15366302 1c04a4ed
......@@ -45,7 +45,6 @@ $(function () {
}, function (res) {
if (res.errcode == 0) {
self.img = res.data.avatar || (res.data.wechat_oauth ? (res.data.wechat_oauth.oauth_head || '') : '');
console.log(self.img)
self.name = res.data.company_name || '--';
self.id = res.data.user_id + '';
self.customerNum = res.data.im_username || '';
......
......@@ -98,8 +98,8 @@
avatar = res.data.avatar
}
if(avatar){
$("#head_pic").find('img').attr('src', res.data['avatar']);
$(".info_logo").attr('src', res.data['avatar']);
$("#head_pic").find('img').attr('src', avatar);
$(".info_logo").attr('src',avatar);
}
//首页信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment