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
ac441f0d
Commit
ac441f0d
authored
May 07, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回
parent
8fe9cb76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
20 deletions
+22
-20
selectInterset.vue
src/views/mobile/selectInterset.vue
+22
-20
No files found.
src/views/mobile/selectInterset.vue
View file @
ac441f0d
...
...
@@ -114,29 +114,31 @@
if
(
this
.
pathfrom
){
if
(
this
.
pathfrom
==
'himself'
){
this
.
$emit
(
"hiddenSelect"
);
}
if
(
this
.
pathfrom
.
indexOf
(
"login"
)
!=-
1
||
this
.
pathfrom
.
indexOf
(
"Login"
)
!=-
1
||
this
.
pathfrom
==
"/"
||
this
.
pathfrom
.
indexOf
(
"/mobileRegister"
)
!=-
1
)
{
if
(
this
.
publicFun
.
getCookie
(
"selected"
)
&&
this
.
publicFun
.
getCookie
(
"selected"
)
!=
"index"
){
switch
(
this
.
publicFun
.
getCookie
(
"selected"
))
{
case
"contact"
:
this
.
$router
.
push
({
path
:
"/tabconnect"
,
query
:{
tabIndex
:
1
}})
break
;
case
"mine"
:
this
.
publicFun
.
setOtherCookie
(
"selected"
,
"mine"
)
this
.
$router
.
push
(
"/mine"
)
}
else
{
if
(
this
.
pathfrom
.
indexOf
(
"login"
)
!=-
1
||
this
.
pathfrom
.
indexOf
(
"Login"
)
!=-
1
||
this
.
pathfrom
==
"/"
||
this
.
pathfrom
.
indexOf
(
"/mobileRegister"
)
!=-
1
)
{
if
(
this
.
publicFun
.
getCookie
(
"selected"
)
&&
this
.
publicFun
.
getCookie
(
"selected"
)
!=
"index"
){
switch
(
this
.
publicFun
.
getCookie
(
"selected"
))
{
case
"contact"
:
this
.
$router
.
push
({
path
:
"/tabconnect"
,
query
:{
tabIndex
:
1
}})
break
;
case
"mine"
:
this
.
publicFun
.
setOtherCookie
(
"selected"
,
"mine"
)
this
.
$router
.
push
(
"/mine"
)
}
}
else
{
this
.
$router
.
push
(
"/index"
);
this
.
publicFun
.
setUserInfoCookie
(
"selected"
,
"index"
);
globalMsg
.
$emit
(
"sendSelected"
,
"index"
);
}
}
else
{
this
.
$router
.
push
(
"/index"
);
this
.
publicFun
.
setUserInfoCookie
(
"selected"
,
"index"
);
globalMsg
.
$emit
(
"sendSelected"
,
"index"
);
}
else
if
(
this
.
pathfrom
==
"/mine"
){
this
.
$router
.
push
(
this
.
pathfrom
);
}
else
{
this
.
$router
.
go
(
-
1
);
}
}
else
if
(
this
.
pathfrom
==
"/mine"
){
this
.
$router
.
push
(
this
.
pathfrom
);
}
else
{
this
.
$router
.
go
(
-
1
);
}
}
else
{
this
.
$router
.
push
(
"/index"
);
...
...
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