feat: app功能基本实现

This commit is contained in:
gin
2026-05-26 11:54:24 +08:00
parent 2757a4fb49
commit 2a702fa6a9
218 changed files with 6766 additions and 5961 deletions
+5 -14
View File
@@ -1,25 +1,16 @@
const { VITE_HIDE_HOME } = import.meta.env;
import { DEFAULT_ENTRY_PATH } from "@/router/defaultEntry";
const Layout = () => import("@/layout/index.vue");
export default {
path: "/",
name: "Home",
component: Layout,
redirect: "/welcome",
redirect: DEFAULT_ENTRY_PATH,
meta: {
icon: "homeFilled",
title: "首页",
showLink: false,
rank: 0
},
children: [
{
path: "/welcome",
name: "Welcome",
component: () => import("@/views/welcome/index.vue"),
meta: {
title: "首页",
showLink: VITE_HIDE_HOME === "true" ? false : true
}
}
]
}
} as RouteConfigsTable;