Skip to content

Commit

Permalink
feat: handle click event of home button in error page
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwa committed Oct 15, 2018
1 parent 26ae141 commit 0e6d3ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/view/Error/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<el-button
class="tips__button"
type="primary"
@click="onClick"
>{{text.tipsButton}}</el-button>
</div>
</error-layout>
Expand Down Expand Up @@ -45,6 +46,12 @@ export default {
}
},
methods: {
onClick () {
this.$router.push('/dashboard/analysis')
}
},
components: {
ErrorLayout
}
Expand Down

0 comments on commit 0e6d3ce

Please # to comment.