parent
36e6c6a385
commit
24c64a4874
15 changed files with 1137 additions and 345 deletions
@ -1,36 +0,0 @@ |
||||
<template> |
||||
<div class="menu-child"> |
||||
<template v-for="item in this.menuList"> |
||||
<el-submenu :popper-class="$route.path === '/home' || $route.path === '/sfel' ? 'home-menu-popup' : ''" :class="{active: $route.query.id == item.id}" :key="item.id" :index="String(item.id)" :id="item.id" v-if="item.children && item.children.length"> |
||||
<template slot="title"> |
||||
<span slot="title" :id="item.id">{{item.columnName}}</span> |
||||
</template> |
||||
<!-- <menuTree :menuList="item.children"></menuTree> --> |
||||
</el-submenu> |
||||
<el-menu-item :key="item.id" :id="item.id" :index="String(item.id)" :class="{active: $route.query.id == item.id}" v-else> |
||||
<span slot="title" :id="item.id">{{item.columnName}}</span> |
||||
</el-menu-item> |
||||
</template> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
name: 'menuTree', |
||||
props: { |
||||
menuList: { |
||||
type: Array, |
||||
default: [] |
||||
} |
||||
}, |
||||
data () { |
||||
return {} |
||||
}, |
||||
mounted () {}, |
||||
methods: {} |
||||
} |
||||
</script> |
||||
<style lang="scss" scoped> |
||||
|
||||
</style> |
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue