From 240bb0945648c8f87b44d7f7e7633cb6a982d296 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 13 Nov 2024 14:21:07 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/toc.json | 4 ++++ src/modules/01_manual/MainPage.vue | 2 +- src/views/MainLayout.vue | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/toc.json b/public/toc.json index 9e3a652d..5f71c479 100644 --- a/public/toc.json +++ b/public/toc.json @@ -10,6 +10,10 @@ "activeIcon": "mdi-file", "label": "คู่มือการใช้งานระบบแอดมิน", "children": [ + { + "label": "บทนำ", + "path": "/manual/chapter-0-superadmin-maintenance" + }, { "label": "การใช้งานผู้ดูแลระบบ", "path": "/manual/chapter-1-superadmin-maintenance" diff --git a/src/modules/01_manual/MainPage.vue b/src/modules/01_manual/MainPage.vue index cb9b931b..da9fc32e 100644 --- a/src/modules/01_manual/MainPage.vue +++ b/src/modules/01_manual/MainPage.vue @@ -80,7 +80,7 @@ onMounted(async () => { text.value = await res.text(); found.value = true; - chapter.value = +match[1] - 1; + chapter.value = +match[1]; parsed.value = md.parse(text.value, {}); } } diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index d158b084..a945202e 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -226,7 +226,7 @@ function defaultOpen(index: number) { style="background: #273238" v-model="drawerMain" show-if-above - :width="260" + :width="290" :breakpoint="1023" :mini="drawerMini" >