马宇豪
2025-01-23 e735896a68d8c1742859a06d7bc1c7c1bb61f57d
src/views/redirect.vue
@@ -1,6 +1,7 @@
<script>
export default {
  created() {
    console.log(this.$store,'rout')
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })