From 34b406492abf5cd51a6274fd3bfed29707114f83 Mon Sep 17 00:00:00 2001 From: 05412 Date: Wed, 7 Aug 2024 18:18:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=AA=E8=A1=A8=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/items/Profile.vue | 11 +++++++ src/components/items/RegisterDialog.vue | 2 +- src/components/items/Security.vue | 11 +++++++ src/components/items/UrlManagement.vue | 13 +++++++++ src/components/views/DashboardView.vue | 33 +++++++++++++++++++++ src/components/views/HomeView.vue | 20 +++++++------ src/components/views/ServiceView.vue | 38 ------------------------- src/components/views/TestView.vue | 7 ++--- src/router.ts | 27 ++++++++++++++++++ src/script/functions.ts | 30 +++++++++++-------- src/script/i18n/en.ts | 7 +++++ src/script/i18n/locale-interface.ts | 7 +++++ src/script/i18n/zhHans.ts | 7 +++++ tsconfig.app.json | 7 ++++- 14 files changed, 155 insertions(+), 65 deletions(-) create mode 100644 src/components/items/Profile.vue create mode 100644 src/components/items/Security.vue create mode 100644 src/components/items/UrlManagement.vue create mode 100644 src/components/views/DashboardView.vue diff --git a/src/components/items/Profile.vue b/src/components/items/Profile.vue new file mode 100644 index 0000000..4013f12 --- /dev/null +++ b/src/components/items/Profile.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/src/components/items/RegisterDialog.vue b/src/components/items/RegisterDialog.vue index 4bec73c..0569ccd 100644 --- a/src/components/items/RegisterDialog.vue +++ b/src/components/items/RegisterDialog.vue @@ -37,7 +37,7 @@ async function tryRegister() { } } loading.value = false - if (isRegisterFailed.value == false) { + if (!isRegisterFailed.value) { registerIcon.value = "mdi-check" disableRegister.value = true setTimeout(() => { diff --git a/src/components/items/Security.vue b/src/components/items/Security.vue new file mode 100644 index 0000000..5d325f2 --- /dev/null +++ b/src/components/items/Security.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/src/components/items/UrlManagement.vue b/src/components/items/UrlManagement.vue new file mode 100644 index 0000000..3a85416 --- /dev/null +++ b/src/components/items/UrlManagement.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/components/views/DashboardView.vue b/src/components/views/DashboardView.vue new file mode 100644 index 0000000..56b95db --- /dev/null +++ b/src/components/views/DashboardView.vue @@ -0,0 +1,33 @@ + + + + + \ No newline at end of file diff --git a/src/components/views/HomeView.vue b/src/components/views/HomeView.vue index 4db5caa..c217a4e 100644 --- a/src/components/views/HomeView.vue +++ b/src/components/views/HomeView.vue @@ -35,7 +35,7 @@ function toggleTheme() {