Files
yudao-dev/src/views/redirect.vue
‘937886381’ 1ea62af1d6 修改
2025-11-12 16:56:14 +08:00

15 lines
296 B
Vue

<script>
export default {
created() {
const { params, query } = this.$route
const { path } = params
console.log('this.$route', this.$route);
this.$router.replace({ path: '/' + path, query })
},
render: function (h) {
return h() // avoid warning message
}
}
</script>