Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
2016-08-05 10:46:24 +0800
Commit
ace7690e15ed8b3855eec11037bc6768be3a7317
2 parents
698fefc9
e1ee9b42
Merge branch 'develop' of git.yoho.cn:fe/yohoblk-wap into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
public/js/common/intercept-click.js
public/js/common/intercept-click.js
View file @
ace7690
...
...
@@ -206,6 +206,13 @@ const matchHeader = (path, qs, titleMap) => {
return
header
;
}
// 处理 feature.yoho.cn 等域名下的站外链接
if
(
/^
(
https
?
:
)?\/\/
/i
.
test
(
path
)
&&
!
/yohoblk
\.
com/
.
test
(
path
))
{
header
=
titleMap
[
1
];
header
.
title
.
des
=
qs
.
title
||
''
;
return
header
;
}
return
header
;
};
...
...
Please
register
or
login
to post a comment