娄哥
2024-03-05 1e8f754e972c82384ba320f6e85fe3cd153e97b3
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 })