Newer
Older
DH_Apicture / src / views / redirect / index.vue
@zhangqy zhangqy 28 days ago 267 bytes first commit
<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>