sunlupeng 1 year ago
parent
commit
1008d48937
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/Sidebar/Item.vue

+ 1 - 1
src/layout/components/Sidebar/Item.vue

@@ -17,7 +17,7 @@ export default {
     const vnodes = []
 
     if (icon) {
-      vnodes.push(<svg-icon icon-class={icon}/>)
+      vnodes.push(<svg-icon style="vertical-align: middle;" icon-class={icon}/>)
     }
 
     if (title) {