马宇豪
2024-03-05 805cf38b4fe6a1705ba5856e351c872c91e3dedf
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 })