From bed261136203cbef8edb38a16a514d54de2030b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Mon, 20 Apr 2026 14:02:55 +0800 Subject: [PATCH] 11 --- src/router/index.ts | 15 +++++---------- src/views/home/index.vue | 12 ++++++++++++ 2 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 src/views/home/index.vue diff --git a/src/router/index.ts b/src/router/index.ts index 27f9f8d..afc3a11 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -10,16 +10,11 @@ const router = createRouter({ history: createWebHistory('/'), // history: createWebHistory(import.meta.env.VITE_APP_URL), routes: [ - // { - // path: '/', - // redirect: '/welcome' - // }, - // { - // path: '/asistant', - // name: 'asistant', - // component: () => import('../views/asistant/index.vue'), - // meta: { cache: true, verify: () => VerifyIDs(2) } - // }, + { + path: '/', + name: 'home', + component: () => import('../views/home/index.vue'), + }, { path: '/:pathMatch(.*)', diff --git a/src/views/home/index.vue b/src/views/home/index.vue new file mode 100644 index 0000000..0c78fb5 --- /dev/null +++ b/src/views/home/index.vue @@ -0,0 +1,12 @@ + + + + +