yinbangzhong
2024-08-22 3c8070e9f97b42a56564b180bbecf5e54d7709ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<template>
  <div></div>
</template>
 
<script lang="ts" setup>
  import { useRouter, useRoute } from 'vue-router';
 
  const router = useRouter();
  const route = useRoute();
 
  const gotoPath = route.params.path as string;
 
  router.replace({ path: gotoPath });
</script>
 
<style scoped lang="less"></style>