gongchunyi
2026-05-28 a8e0162dc25190d43ca1f2eef39cc98860b4233d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<template>
  <div></div>
</template>
 
<script setup>
import { useRoute, useRouter } from 'vue-router'
 
const route = useRoute()
const router = useRouter()
const { params, query } = route
const { path } = params
 
router.replace({ path: '/' + path, query })
</script>