We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2096ae1 commit 45edf7bCopy full SHA for 45edf7b
src/views/redirect/index.vue
@@ -1,10 +1,9 @@
1
<script>
2
export default {
3
- beforeCreate() {
+ created() {
4
const { params, query } = this.$route
5
const { path } = params
6
this.$router.replace({ path: '/' + path, query })
7
- return
8
},
9
render: function(h) {
10
return h() // avoid warning message
0 commit comments