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