zhouwx
2024-11-12 0d85753a7a3c8c9ddc725c836f12e489f26d5a79
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 })