fix[redirect]: fix redirect bug in vue-devtool again
This commit is contained in:
parent
b6aa00d5de
commit
5f536fdfc4
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
export default {
|
||||
beforeCreate() {
|
||||
created() {
|
||||
const { params, query } = this.$route
|
||||
const { path } = params
|
||||
this.$router.replace({ path: '/' + path, query })
|
||||
|
|
Loading…
Reference in New Issue