Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
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
张冬
web-site
Commits
7602b87c
Commit
7602b87c
authored
Oct 26, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转后台
parent
a655b16c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
index.vue
pages/index/index.vue
+7
-0
No files found.
pages/index/index.vue
View file @
7602b87c
...
@@ -208,9 +208,16 @@ import Cookies from "js-cookie"
...
@@ -208,9 +208,16 @@ import Cookies from "js-cookie"
},
},
pushH
(){
pushH
(){
let
token
=
Cookies
.
get
(
"token"
)
let
token
=
Cookies
.
get
(
"token"
)
/* 判断为供应商还是供应商 */
let
type
=
Cookies
.
get
(
"isSupplier"
)
if
(
token
){
if
(
token
){
if
(
type
==
"1"
){
window
.
location
.
href
=
`http://60.205.251.80:8082/#/purchaser/Home?token=
${
token
}
`
window
.
location
.
href
=
`http://60.205.251.80:8082/#/purchaser/Home?token=
${
token
}
`
}
}
if
(
type
==
"2"
){
window
.
location
.
href
=
`http://60.205.251.80:8082/#/supply/Home?token=
${
token
}
`
}
}
}
}
},
},
data
()
{
data
()
{
...
...
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