louyinlei
2024-03-05 5e779cf782fa3bfd3de4cfc4dc88af56b171b501
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 })