src/router/modules/home.ts
@@ -2,13 +2,13 @@ const Layout = () => import("@/layout/index.vue"); export default { path: "/welcome", name: "Welcome", path: "/", name: "Home", component: Layout, // redirect: "/welcome", redirect: "/welcome", meta: { icon: "ep/home-filled", title: "主页", title: "首页", rank: 0 }, children: [ @@ -17,7 +17,7 @@ name: "Welcome", component: () => import("@/views/welcome/index.vue"), meta: { title: "主页", title: "首页", showLink: VITE_HIDE_HOME === "true" ? false : true } }