Merge branch 'hotfix/module_index' into develop
Former-commit-id: b86c9cbc286c3e33e7aeb1023e625c78cb5e676b [formerly b86c9cbc286c3e33e7aeb1023e625c78cb5e676b [formerly b86c9cbc286c3e33e7aeb1023e625c78cb5e676b [formerly b86c9cbc286c3e33e7aeb1023e625c78cb5e676b [formerly ae693b883d03b6dbeaf890b8f8399bc00613eb7b [formerly 3d0f191ed00bb60c35da9e4795be45c12ae94cce]]]]] Former-commit-id: 8ee0b500f9f4c47fdf2bad0df25c31dbd6c5345a Former-commit-id: 21d4c18d67d7ff8eb52479e84169fa1a2b5f2c95 Former-commit-id: b5cfa4558659b07d6b35494b127593b2fa3f9949 [formerly 7704295cccd6d36b7942d5e1bf1130dfbe85bc1b] Former-commit-id: a3ccbc558530a951ae4924753bcfe39ac87be22d Former-commit-id: 0fcc97a04f2481eb65b406f279d192870eb3b1b6 Former-commit-id: ac1b85539ad90ae766524c2c9b4d49999c7d6b7f Former-commit-id: 877e491cd7e24d3daabe677c7a52654d778f36dc Former-commit-id: f608cc6fccdb5522d2e61c9fada5d4db89857106
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>
|
||||
|
||||
@@ -1 +1 @@
|
||||
033fcecc7eeff02cfda00a5ded8a23cb359855f1
|
||||
662a8892e61c7d979c416032c9a8ea91ebdc5e12
|
||||
Reference in New Issue
Block a user