fix[redirect]: fix redirect bug in vue-devtools (#2066)

This commit is contained in:
花裤衩 2019-05-12 14:01:04 +08:00 committed by GitHub
parent 3a4543478f
commit 27df997915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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