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

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