init: 初始系统模板
This commit is contained in:
11
src/views/redirect/index.vue
Normal file
11
src/views/redirect/index.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
const { params, query } = router.currentRoute.value;
|
||||
|
||||
router.replace({ path: `/${params.path}`, query });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span>稍等...</span>
|
||||
</template>
|
||||
Reference in New Issue
Block a user