1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 11:18:42 +08:00

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

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