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
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
2016-08-09 15:43:50 +0800
Commit
ffac2c2c35b1bf171f0a01cbb568607b79a82420
1 parent
8b2005b5
首页tab支持传url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
public/js/common/intercept-click.js
public/js/common/intercept-click.js
View file @
ffac2c2
...
...
@@ -274,7 +274,8 @@ const intercept = (url) => {
// 首页
if
(
/
\/
$/
.
test
(
path
))
{
return
yoho
.
goTab
({
index
:
0
index
:
0
,
url
:
/^
(
https
?
:
)?\/\/
/i
.
test
(
url
)
?
url
:
origin
+
url
});
}
...
...
Please
register
or
login
to post a comment