Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3db24fce
authored
May 12, 2021
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
6d0d05be
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
src/main.js
src/main.js
View file @
3db24fce
...
@@ -74,7 +74,6 @@ router.beforeEach((to, from, next) => {
...
@@ -74,7 +74,6 @@ router.beforeEach((to, from, next) => {
if
(
to
.
path
==
"/login"
)
{
if
(
to
.
path
==
"/login"
)
{
next
()
next
()
}
else
{
}
else
{
next
();
let
token
=
Util
.
getCookie
(
'token'
)
||
''
;
let
token
=
Util
.
getCookie
(
'token'
)
||
''
;
if
(
!
token
)
{
if
(
!
token
)
{
window
.
location
.
href
=
'/#/login?referer='
+
encodeURI
(
to
.
path
);
window
.
location
.
href
=
'/#/login?referer='
+
encodeURI
(
to
.
path
);
...
...
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