Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
SURPRISED
Commits
e07388b5
Commit
e07388b5
authored
Nov 15, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断优先进入
parent
bcb81382
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
GT_activities.html
html/GT_activities.html
+1
-4
No files found.
html/GT_activities.html
View file @
e07388b5
...
...
@@ -257,7 +257,7 @@
let
login
=
true
;
//判断是否登录
let
userInfo
=
{};
let
platform
=
"H5"
;
if
(
localStorage
.
u
)
{
if
(
localStorage
.
u
&&
href
.
indexOf
(
"platform"
)
==
-
1
)
{
try
{
userInfo
=
JSON
.
parse
(
localStorage
.
u
);
if
(
!
userInfo
.
customerId
)
{
...
...
@@ -277,8 +277,6 @@
login
=
false
}
}
else
{
// 如果进入页面没有登录的参数 处理跳到h5页面登录
if
(
href
.
split
(
'?'
)[
1
])
{
...
...
@@ -300,7 +298,6 @@
secretKey
:
param
[
3
].
split
(
'='
)[
1
]
}
platform
=
param
[
4
].
split
(
'='
)[
1
]
//获取从哪里跳过来的
}
}
else
{
// window.location.href = 'https://activity.oytour.com/html/login.html';
...
...
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