Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
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
Administrator
web-monitor
Commits
691c5264
Commit
691c5264
authored
Oct 08, 2018
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref[Sidebar]: refine key
parent
1883c305
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SidebarItem.vue
src/views/layout/components/Sidebar/SidebarItem.vue
+1
-1
index.vue
src/views/layout/components/Sidebar/index.vue
+1
-1
No files found.
src/views/layout/components/Sidebar/SidebarItem.vue
View file @
691c5264
...
...
@@ -9,7 +9,7 @@
</app-link>
</
template
>
<el-submenu
v-else
:index=
"
item.name||item.path
"
>
<el-submenu
v-else
:index=
"
resolvePath(item.path)
"
>
<
template
slot=
"title"
>
<item
v-if=
"item.meta"
:icon=
"item.meta.icon"
:title=
"item.meta.title"
/>
</
template
>
...
...
src/views/layout/components/Sidebar/index.vue
View file @
691c5264
...
...
@@ -9,7 +9,7 @@
text-color=
"#bfcbd9"
active-text-color=
"#409EFF"
>
<sidebar-item
v-for=
"route in routes"
:key=
"route.
name
"
:item=
"route"
:base-path=
"route.path"
/>
<sidebar-item
v-for=
"route in routes"
:key=
"route.
path
"
:item=
"route"
:base-path=
"route.path"
/>
</el-menu>
</el-scrollbar>
</
template
>
...
...
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