zhouwx
2024-11-08 6c25d32b5232e0b1c06916951f24b1b3a6a50ee1
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 })