修复文件管理导航栏没有icon显示的bug
This commit is contained in:
parent
8c26881885
commit
cf60266832
|
@ -16,9 +16,13 @@
|
|||
<sidebar-item v-for="route in routes" :key="route.path" :item="route" :base-path="route.path" />
|
||||
|
||||
|
||||
|
||||
<el-submenu index="4">
|
||||
<item title="文件管理2.0" />
|
||||
<!-- <i class="el-icon-document"/>-->
|
||||
<el-submenu index="4" >
|
||||
<template slot="title">
|
||||
<i class="el-icon-document sub-el-icon"></i>
|
||||
<span>文件管理2.0</span>
|
||||
</template>
|
||||
<!-- <item title="文件管理2.0"/>-->
|
||||
<el-menu-item-group>
|
||||
|
||||
<el-menu-item v-for="item in filesTypeList" :index="item.filesTypeId">
|
||||
|
@ -118,3 +122,10 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.sub-el-icon {
|
||||
color: currentColor;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue