diff --git a/src/components/tool/AStepItem.vue b/src/components/tool/AStepItem.vue index 0b458e7..c1891ca 100644 --- a/src/components/tool/AStepItem.vue +++ b/src/components/tool/AStepItem.vue @@ -1,9 +1,11 @@ @@ -25,10 +27,27 @@ export default { name: 'AStepItem', Group: Group, components: {AIcon}, - props: ['title', 'icon', 'link', 'titleStyle', 'iconStyle'] + props: ['title', 'icon', 'link', 'titleStyle', 'iconStyle'], + methods: { + go () { + const link = this.link + if (link) { + this.$router.push(link) + } + } + } } -