From 4d16cee35c0cdf2c505d00a2a85364a0a09bcbae Mon Sep 17 00:00:00 2001
From: LGH <guanghui.luo@foxmail.com>
Date: Wed, 26 Mar 2025 17:38:37 +0800
Subject: [PATCH] feat: 调整home

---
 src/router/views/index.js |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/router/views/index.js b/src/router/views/index.js
index b7e23b9..887089f 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -1,12 +1,11 @@
-import Layout from '@/page/index/index.vue';
+import Index from '@/layout/index.vue';
 import Store from '@/store/';
 
 export default [
   {
-    path: '/wel',
-    component: () =>
-      Store.getters.isMacOs ? import('@/mac/index.vue') : import('@/page/index/index.vue'),
-    redirect: '/wel/index',
+    path: '/',
+    component: () => import('@/layout/index.vue'),
+    redirect: '/index',
     children: [
       {
         path: 'index',
@@ -14,7 +13,7 @@
         meta: {
           i18n: 'dashboard',
         },
-        component: () => import(/* webpackChunkName: "views" */ '@/views/wel/index.vue'),
+        component: () => import(/* webpackChunkName: "views" */ '@/views/Home/Home.vue'),
       },
       {
         path: 'dashboard',
@@ -29,7 +28,7 @@
   },
   {
     path: '/test',
-    component: Layout,
+    component: Index,
     redirect: '/test/index',
     children: [
       {
@@ -38,7 +37,7 @@
         meta: {
           i18n: 'test',
         },
-        component: () => import(/* webpackChunkName: "views" */ '@/views/util/test.vue'),
+        component: () => import(/* webpackChunkName: "views" */ '@/views/Test.vue'),
       },
     ],
   },

--
Gitblit v1.9.3