sunlupeng 1 年之前
父節點
當前提交
1008d48937
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {