Skip to content

Commit

Permalink
fix[redirect]: fix redirect bug in vue-devtools (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen authored May 12, 2019
1 parent 3a45434 commit 27df997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/redirect/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export default {
const { params, query } = this.$route
const { path } = params
this.$router.replace({ path: '/' + path, query })
return
},
render: function(h) {
return h() // avoid warning message
Expand Down

0 comments on commit 27df997

Please sign in to comment.