feat: 初始化仓库

This commit is contained in:
2025-02-10 20:21:23 +08:00
commit a5f04356ee
225 changed files with 24988 additions and 0 deletions

24
src/layout/redirect.vue Normal file
View File

@@ -0,0 +1,24 @@
<script setup lang="ts">
import { unref } from "vue";
import { useRouter } from "vue-router";
defineOptions({
name: "Redirect"
});
const { currentRoute, replace } = useRouter();
const { params, query } = unref(currentRoute);
const { path } = params;
const _path = Array.isArray(path) ? path.join("/") : path;
replace({
path: "/" + _path,
query
});
</script>
<template>
<div />
</template>