src/views/redirect.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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) {