Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
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
front-end-dev
techbook
Commits
6654d023
Commit
6654d023
authored
Apr 01, 2021
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信登录
parent
4d098cad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
public.js
src/assets/js/public.js
+1
-1
No files found.
src/assets/js/public.js
View file @
6654d023
...
...
@@ -1051,7 +1051,7 @@ export default {
commonApi
.
getUserTrajectory
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
)
{
if
(
!
this
.
getUserInfoCookieType
())
{
if
(
to
.
matched
[
0
].
name
==
'index'
||
to
.
matched
[
0
].
name
==
'indexView'
||
to
.
matched
[
0
].
name
==
'login'
||
to
.
matched
[
0
].
name
==
"mobileLogin"
||
to
.
matched
[
0
].
name
==
"mobileNotNeedLogin"
||
to
.
matched
[
0
].
name
==
"notLoginLtrIndex"
||
to
.
matched
[
0
].
name
==
"noHeaderIndexNotLoginedParentRouter"
||
(
to
.
matched
.
length
==
1
&&
to
.
name
.
indexOf
(
"ParentRouter"
)
!=
-
1
))
{
if
(
to
.
matched
[
0
].
name
==
'index'
||
to
.
matched
[
0
].
name
==
'indexView'
||
to
.
matched
[
0
].
name
==
'login'
||
to
.
matched
[
0
].
name
==
"mobileLogin"
||
to
.
matched
[
0
].
name
==
"mobileNotNeedLogin"
||
to
.
matched
[
0
].
name
==
"notLoginLtrIndex"
||
to
.
matched
[
0
].
name
==
"noHeaderIndexNotLoginedParentRouter"
||
(
to
.
matched
.
length
==
1
&&
to
.
name
&&
to
.
name
.
indexOf
(
"ParentRouter"
)
!=
-
1
))
{
if
(
to
.
path
==
'/projectlist'
||
to
.
path
==
'/phoneBusinessList'
)
{
this
.
setUserInfoCookie
(
"fullPath"
,
true
);
}
else
{
...
...
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