From 15d9390ee474bb6f36dd18a844615b2292a4dcce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sat, 16 Nov 2024 10:34:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9F=BA=E7=A1=80=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napcat.webui/src/main.ts | 2 + napcat.webui/src/pages/OtherConfig.vue | 69 ++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/napcat.webui/src/main.ts b/napcat.webui/src/main.ts index 6f8eec11..7e071636 100644 --- a/napcat.webui/src/main.ts +++ b/napcat.webui/src/main.ts @@ -26,6 +26,7 @@ import { Checkbox as TCheckbox, Popup as TPopup, Dialog as TDialog, + Switch as TSwitch, } from 'tdesign-vue-next'; import { router } from './router'; import 'tdesign-vue-next/es/style/index.css'; @@ -57,4 +58,5 @@ app.use(TSpace); app.use(TCheckbox); app.use(TPopup); app.use(TDialog); +app.use(TSwitch); app.mount('#app'); diff --git a/napcat.webui/src/pages/OtherConfig.vue b/napcat.webui/src/pages/OtherConfig.vue index 7d6ab58f..17c5be71 100644 --- a/napcat.webui/src/pages/OtherConfig.vue +++ b/napcat.webui/src/pages/OtherConfig.vue @@ -3,5 +3,74 @@
+ + + + + + + + + 保存 + + \ No newline at end of file