forked from AkkomaGang/admin-fe
refine sidebaritem code
This commit is contained in:
parent
eac12e3ac0
commit
e912cea26a
1 changed files with 22 additions and 26 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
<router-link v-if="!item.hidden&&item.noDropdown&&item.children.length>0" :to="item.path+'/'+item.children[0].path">
|
||||
<el-menu-item :index="item.path+'/'+item.children[0].path" class='submenu-title-noDropdown'>
|
||||
<icon-svg v-if='item.icon' :icon-class="item.icon"></icon-svg><span slot="title">{{item.children[0].name}}</span>
|
||||
<icon-svg v-if='item.icon' :icon-class="item.icon"></icon-svg><span>{{item.children[0].name}}</span>
|
||||
</el-menu-item>
|
||||
</router-link>
|
||||
|
||||
|
@ -41,7 +41,3 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<style rel="stylesheet/scss" lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue