From 13f4adcf6bf07aa8b789fdc04aa9fc77364c6a5d Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Tue, 9 Jul 2024 14:50:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/layout/index.vue | 26 ++++++------- src/renderer/src/router/index.js | 11 ++++-- src/renderer/src/views/preparation/index.vue | 41 ++++++++++++++++++++ 3 files changed, 61 insertions(+), 17 deletions(-) create mode 100644 src/renderer/src/views/preparation/index.vue diff --git a/src/renderer/src/layout/index.vue b/src/renderer/src/layout/index.vue index b495d19..78041ad 100644 --- a/src/renderer/src/layout/index.vue +++ b/src/renderer/src/layout/index.vue @@ -1,21 +1,21 @@ \ No newline at end of file + diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 6278f80..667bfda 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -17,12 +17,15 @@ export const constantRoutes = [ { path: '/index', component: () => import('@/views/resource/index.vue'), - name: 'index', - + name: 'index' + }, + { + path: '/preparation', + component: () => import('@/views/preparation/index.vue'), + name: 'preparation' } ] - }, - + } ] const router = createRouter({ diff --git a/src/renderer/src/views/preparation/index.vue b/src/renderer/src/views/preparation/index.vue new file mode 100644 index 0000000..0c37245 --- /dev/null +++ b/src/renderer/src/views/preparation/index.vue @@ -0,0 +1,41 @@ + + +