Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
f5f7980fe5b4e2ebb0d8ecf86853c2537a9edb6a
2 parents
0c16d1e8
4af8d0ac
Merge remote-tracking branch 'remotes/origin/hotfix/passportDetail'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
web-static/js/simple-header.js
web-static/js/simple-header.js
View file @
f5f7980
...
...
@@ -63,12 +63,12 @@ function formatUsernName(userName) {
* @return {[type]} [description]
*/
function
setLoginStatus
(
data
)
{
var
info
=
data
.
data
,
var
info
=
data
,
loginHtml
,
name
;
if
(
data
.
result
!==
-
1
)
{
name
=
formatUsernName
(
info
.
profile
_n
ame
);
name
=
formatUsernName
(
info
.
profile
N
ame
);
loginHtml
=
'<span>Hi~</span>'
+
'<a href="//www.yohobuy.com/home?t='
+
info
.
random
+
'">'
+
name
+
'</a> '
+
'<a href="//www.yohobuy.com/logout.html">[退出]</a>'
;
...
...
Please
register
or
login
to post a comment