Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iot-plm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
iot-plm
Commits
cf7b73c6
Commit
cf7b73c6
authored
Jul 29, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改端口
parent
03a0659b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
iot-plm-manager-ui/admin/src/router.js
iot-plm-manager-ui/admin/src/router.js
+3
-3
No files found.
iot-plm-manager-ui/admin/src/router.js
View file @
cf7b73c6
...
@@ -119,9 +119,9 @@ router.afterEach(() => {
...
@@ -119,9 +119,9 @@ router.afterEach(() => {
// 路由鉴权
// 路由鉴权
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
ssoCheck
(
to
,
from
,
next
))
{
//sso鉴权检查
//
if (ssoCheck(to, from, next)) { //sso鉴权检查
return
//
return
}
//
}
if
(
to
.
matched
.
some
(
record
=>
record
.
meta
.
requiresAuth
))
{
if
(
to
.
matched
.
some
(
record
=>
record
.
meta
.
requiresAuth
))
{
if
(
Store
.
state
.
isLogin
)
{
if
(
Store
.
state
.
isLogin
)
{
next
();
next
();
...
...
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