import { useRoute, useRouter } from 'vue-router'const route = useRoute()const router = useRouter()router.push("./路径")