gaoluyang
2026-09-21 a0aa8d80f8c788e659ca187e49a6bdac0e2c0a5b
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>