Skip to content
Snippets Groups Projects
Commit 32773438 authored by Pan's avatar Pan
Browse files

fix[redirect]: miss query bug

parent 0740bb36
Branches
Tags
No related merge requests found
<script>
export default {
beforeCreate() {
const path = this.$route.params.path
this.$router.replace('/' + path)
const { params, query } = this.$route
const { path } = params
this.$router.replace({ path: '/' + path, query })
},
render: function(h) {
return h() // avoid warning message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment