Browse Source

更改菜单的图标大小

hbchen 2 years ago
parent
commit
a3b64b20b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/sideBar/sidebarItem.vue

+ 1 - 1
src/layout/sideBar/sidebarItem.vue

@@ -41,7 +41,7 @@ const resolvePath=(path)=>{
             <a :href="`${item.path}/index`" 
             :style="`display: block;color:${item.path+'/index'===active ? '#fff ' : '#666'}`" 
             @click="(e) => e.preventDefault() ">
-              <el-icon size="24px" style="margin-right: 10px;">
+              <el-icon size="16px" style="margin-right: 10px;">
                 <svg-Icon v-if="item.meta.icon_path.startsWith('svgIcon')" :name="item.meta.icon_path"
                 :color="item.path+'/index'===active?'#fff':'#666'" />
                 <component :is="item.meta.icon_path" v-else />