diff --git a/src/views/redirect/index.vue b/src/views/redirect/index.vue index bf56fbcd..64624c65 100644 --- a/src/views/redirect/index.vue +++ b/src/views/redirect/index.vue @@ -4,6 +4,7 @@ export default { const { params, query } = this.$route const { path } = params this.$router.replace({ path: '/' + path, query }) + return }, render: function(h) { return h() // avoid warning message