src/views/redirect.vue @@ -3,6 +3,8 @@ created() { const { params, query } = this.$route const { path } = params console.log(this.$route,'111'); this.$router.replace({ path: '/' + path, query }) }, render: function(h) {