Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
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
smart-operation
so-manage-ui
Commits
7f4a5fbf
You need to sign in or sign up before continuing.
Commit
7f4a5fbf
authored
Jul 11, 2023
by
李鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置可视化大屏
parent
e35104df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/router/function.js
src/router/function.js
+3
-3
No files found.
src/router/function.js
View file @
7f4a5fbf
...
...
@@ -278,9 +278,9 @@ function getViews(path) {
var
menuToRouter
=
(
menu
)
=>
{
menu
.
forEach
((
e
)
=>
{
e
.
name
=
getName
(
e
.
path
);
if
(
e
.
path
.
indexOf
(
"
#
"
)
!=
-
1
)
{
e
.
path
=
e
.
path
.
split
(
"
#
"
)[
1
];
}
//
if (e.path.indexOf("#") != -1) {
//
e.path = e.path.split("#")[1];
//
}
if
(
e
.
children
&&
e
.
menuType
==
0
)
{
// 其他层级作为文件夹,只提供父级
e
.
component
=
()
=>
import
(
"
../page/parent/parent.vue
"
);
...
...
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