Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
955e4d52
authored
Oct 16, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'sy_ic_1016'
parents
15366302
1c04a4ed
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
dist/js/chat/index.js
dist/js/global/global.min.js
dist/js/chat/index.js
View file @
955e4d52
...
...
@@ -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
||
''
;
...
...
dist/js/global/global.min.js
View file @
955e4d52
...
...
@@ -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
);
}
//首页信息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment