马宇豪
2025-01-23 7a5a82daef28a016b3c9cfd903cdcb4bb066a8e4
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 })