Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
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
李苏
lxyl-vue
Commits
af0247e3
Commit
af0247e3
authored
Feb 29, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路由调整 sidebar显示调整
parent
a2f505a6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
262 additions
and
213 deletions
+262
-213
SidebarItem.vue
src/layout/components/Sidebar/SidebarItem.vue
+3
-3
index.js
src/router/index.js
+1
-1
index.vue
src/views/ccgl/cqgl/cskc/top/index.vue
+258
-209
No files found.
src/layout/components/Sidebar/SidebarItem.vue
View file @
af0247e3
...
@@ -87,9 +87,9 @@ export default {
...
@@ -87,9 +87,9 @@ export default {
})
})
// When there is only one child router, the child router is displayed by default
// When there is only one child router, the child router is displayed by default
if
(
showingChildren
.
length
===
1
)
{
//
if (showingChildren.length === 1) {
return
true
//
return true
}
//
}
// Show parent if there are no child router to display
// Show parent if there are no child router to display
if
(
showingChildren
.
length
===
0
)
{
if
(
showingChildren
.
length
===
0
)
{
...
...
src/router/index.js
View file @
af0247e3
...
@@ -988,7 +988,7 @@ export const powerRoutes = [
...
@@ -988,7 +988,7 @@ export const powerRoutes = [
"icon"
:
""
,
"icon"
:
""
,
"noCache"
:
false
,
"noCache"
:
false
,
"link"
:
null
,
"link"
:
null
,
"mkid"
:
9200
90100
,
"mkid"
:
9200
70701
,
},
},
name
:
'pdd'
,
name
:
'pdd'
,
path
:
"pdd"
,
path
:
"pdd"
,
...
...
src/views/ccgl/cqgl/cskc/top/index.vue
View file @
af0247e3
This diff is collapsed.
Click to expand it.
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