zhangwei
8 天以前 03c275439949875a857538df89a41696642c42b3
src/router/modules/home.ts
@@ -2,14 +2,15 @@
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: "主页",
    rank: 0
    title: "首页",
    rank: 0,
    showLink: false
  },
  children: [
    {
@@ -17,7 +18,7 @@
      name: "Welcome",
      component: () => import("@/views/welcome/index.vue"),
      meta: {
        title: "主页",
        title: "首页",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }