fix[redirect]: fix redirect bug in vue-devtool

This commit is contained in:
Pan 2019-05-12 13:59:27 +08:00
parent 3a4543478f
commit 146db91348
1 changed files with 1 additions and 0 deletions

View File

@ -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