mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
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…
x
Reference in New Issue
Block a user