From f1463566202091e2448e51b39c92ba697b245ce0 Mon Sep 17 00:00:00 2001 From: ZQN <364596817@qq.com> Date: 星期三, 04 九月 2024 13:41:49 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/main' into main --- src/router/index.ts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 4242757..7796cc6 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,6 +1,7 @@ import { createWebHistory, createRouter, RouteRecordRaw } from "vue-router"; /* Layout */ import Layout from "@/layout/index.vue"; +import path from "path"; /** * Note: 璺敱閰嶇疆椤� @@ -58,6 +59,10 @@ hidden: true, }, { + path: '/main', + component: () => import("@/views/main/indexMarge.vue"), + }, + { path: "", component: Layout, redirect: "/home", -- Gitblit v1.9.1