Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
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
耿迪迪
precision-effect
Commits
2f83650f
Commit
2f83650f
authored
Sep 12, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刷新问题
parent
4cd6c6b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
permission.js
precision-effect-web/src/permission.js
+1
-2
No files found.
precision-effect-web/src/permission.js
View file @
2f83650f
...
...
@@ -31,9 +31,8 @@ router.beforeEach((to, from, next) => {
});
// 隐藏
origin
.
children
[
0
].
hidden
=
true
;
console
.
log
(
"from-------------"
,
from
)
// 挑战
if
(
from
.
path
==
'/login'
||
from
.
path
==
'/'
){
if
(
to
.
path
==
"/index"
){
if
(
accessRoutes
[
0
].
children
)
{
next
({
...
accessRoutes
[
0
].
children
[
0
]
});
}
...
...
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