From 21699b14c52abbbe83985506bf0b8ef3c7f0e8eb Mon Sep 17 00:00:00 2001
From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Date: Fri, 25 Apr 2025 15:15:37 +0700
Subject: [PATCH] feat: troubleshooting page
---
quasar.config.ts | 2 +-
src/i18n/eng.ts | 3 ++-
src/i18n/tha.ts | 1 +
src/layouts/DrawerComponent.vue | 4 ++++
src/pages/00_manual/MainPage.vue | 35 +++++++++++++++++++++++---------
src/pages/00_manual/ViewPage.vue | 34 +++++++++++++++++++++++--------
src/router/routes.ts | 10 +++++++++
src/stores/manual/index.ts | 32 ++++++++++++++++++++++++++---
8 files changed, 97 insertions(+), 24 deletions(-)
diff --git a/quasar.config.ts b/quasar.config.ts
index cc0715ad..38bb94c1 100644
--- a/quasar.config.ts
+++ b/quasar.config.ts
@@ -31,7 +31,7 @@ export default defineConfig((ctx) => {
devServer: {
host: '0.0.0.0',
open: false,
- port: 5173,
+ port: 5174,
},
framework: {
config: {},
diff --git a/src/i18n/eng.ts b/src/i18n/eng.ts
index fd4edc0e..73b4b096 100644
--- a/src/i18n/eng.ts
+++ b/src/i18n/eng.ts
@@ -254,7 +254,8 @@ export default {
manual: {
title: 'Manual',
- usage: 'การใช้งาน',
+ usage: 'Usage',
+ troubleshooting: 'Troubleshooting',
},
},
diff --git a/src/i18n/tha.ts b/src/i18n/tha.ts
index fe0045bb..31adb4c6 100644
--- a/src/i18n/tha.ts
+++ b/src/i18n/tha.ts
@@ -255,6 +255,7 @@ export default {
manual: {
title: 'คู่มือ',
usage: 'การใช้งาน',
+ troubleshooting: 'การแก้ปัญหา',
},
},
diff --git a/src/layouts/DrawerComponent.vue b/src/layouts/DrawerComponent.vue
index c1b01436..6875f9e8 100644
--- a/src/layouts/DrawerComponent.vue
+++ b/src/layouts/DrawerComponent.vue
@@ -215,6 +215,10 @@ function initMenu() {
label: 'usage',
route: '/manual',
},
+ {
+ label: 'troubleshooting',
+ route: '/troubleshooting',
+ },
],
},
];
diff --git a/src/pages/00_manual/MainPage.vue b/src/pages/00_manual/MainPage.vue
index adcb668f..a0b85ef8 100644
--- a/src/pages/00_manual/MainPage.vue
+++ b/src/pages/00_manual/MainPage.vue
@@ -1,7 +1,7 @@
@@ -34,7 +45,7 @@ onMounted(async () => {
>