Newer
Older
KaiFengPC / src / views / redirect / index.vue
@zhangdeliang zhangdeliang on 23 May 267 bytes 初始化项目
<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>