Skip to content

Commit

Permalink
fix:修复侧边栏icon,收缩后无法显示的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
uucoding committed Jul 15, 2020
1 parent a3d7dac commit 82b8358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/components/Sidebar/Item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
if (icon) {
if (icon.startsWith('el-')) {
vnodes.push(<span class={'svg-icon ' + icon} style='width:14px'></span>)
vnodes.push(<i class={'svg-icon ' + icon} style='width:14px; color: unset'></i>)
} else {
vnodes.push(<svg-icon icon-class={icon}/>)
}
Expand Down

0 comments on commit 82b8358

Please sign in to comment.