Merge branch 'hotfix/module_index'
Former-commit-id: 992b560cedfeccba49f70f03d65031b596b09e6c [formerly 992b560cedfeccba49f70f03d65031b596b09e6c [formerly 992b560cedfeccba49f70f03d65031b596b09e6c [formerly 992b560cedfeccba49f70f03d65031b596b09e6c [formerly 8a994fbbeb86000f86c396c8a3ca9e3498870958 [formerly b744466759f626e749132ebf2c5e81ef4e34e3f0]]]]] Former-commit-id: e3c27c70ebbd5778dfeab31833b336a25304f2d0 Former-commit-id: 74db91270cd182f86139f5aaad6ceebde256129a Former-commit-id: e3427a7ef289292fc00fc321297b4479c2135ab3 [formerly 870b67918e12046862770453d36b7d26291ff583] Former-commit-id: e87d609da789038a96c9252cd87f38e21e34ec49 Former-commit-id: 10f0981446128b2f6e70a0ecab9ca253664e18fd Former-commit-id: ec9c288d34a5d66429ce07f0788e920559f40d32 Former-commit-id: fd2f0dd665cae772458868da11f9faaee40d99d6 Former-commit-id: c1b03e3ae0b6533aacb7112d8ba1c3604a829c81
This commit is contained in:
@@ -1,24 +1,21 @@
|
||||
<template>
|
||||
<el-button
|
||||
class="d2-module-index-menu-item"
|
||||
@click="handleClick">
|
||||
@click="handleMenuSelect(menu.path)">
|
||||
{{menu.title}}
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import mixinMenu from '@/layout/header-aside/components/mixin/menu'
|
||||
export default {
|
||||
mixins: [
|
||||
mixinMenu
|
||||
],
|
||||
props: {
|
||||
menu: {
|
||||
default: () => ({})
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleClick () {
|
||||
if (this.menu.path) {
|
||||
this.$router.push(this.menu.path)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user