feat: 重构 AppMenu 组件以动态生成菜单项,更新路由和样式,添加返回按钮
Some checks failed
/ build-and-deploy-to-vercel (push) Successful in 1m33s
/ playwright (push) Failing after 2m43s
/ depcheck (push) Successful in 1m35s

This commit is contained in:
严浩
2024-12-25 19:19:21 +08:00
parent 78fe5b0c37
commit eed0f4f3f4
7 changed files with 51 additions and 6 deletions

View File

@ -1,10 +1,12 @@
<script setup lang="ts">
const VITE_BUILD_COMMIT = import.meta.env.VITE_BUILD_COMMIT;
import { routes } from 'vue-router/auto-routes';
</script>
<template>
<div>
<div>index.page.vue</div>
<div rounded-4 px-4 py-2 bg-black text-white>commit: {{ VITE_BUILD_COMMIT }}</div>
<pre>{{ routes }}</pre>
</div>
</template>