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
f16fc88a
Commit
f16fc88a
authored
Sep 11, 2018
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf[Sidebar]: adapt when no icon
parent
e6271665
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SidebarItem.vue
src/views/layout/components/Sidebar/SidebarItem.vue
+1
-1
No files found.
src/views/layout/components/Sidebar/SidebarItem.vue
View file @
f16fc88a
...
...
@@ -4,7 +4,7 @@
<template
v-if=
"hasOneShowingChild(item.children) && !onlyOneChild.children&&!item.alwaysShow"
>
<a
:href=
"onlyOneChild.path"
target=
"_blank"
@
click=
"clickLink(onlyOneChild.path,$event)"
>
<el-menu-item
:index=
"resolvePath(onlyOneChild.path)"
:class=
"
{'submenu-title-noDropdown':!isNest}">
<item
v-if=
"onlyOneChild.meta"
:icon=
"onlyOneChild.meta.icon"
:title=
"onlyOneChild.meta.title"
/>
<item
v-if=
"onlyOneChild.meta"
:icon=
"onlyOneChild.meta.icon
||item.meta.icon
"
:title=
"onlyOneChild.meta.title"
/>
</el-menu-item>
</a>
</
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