From 58012e43dbb1b3ff9eb0c2395c74dccf2f628afb Mon Sep 17 00:00:00 2001 From: MangoFanFanw Date: Wed, 27 May 2026 14:22:21 +0800 Subject: [PATCH] =?UTF-8?q?style:=20Oxc=20=E4=BB=A3=E7=A0=81=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webui/.oxfmtrc.json | 3 +- webui/components.d.ts | 2 + webui/src/pages/AdminPage.vue | 16 +++---- webui/src/pages/Chatroom1Page.vue | 64 +++++++++++++------------ webui/src/pages/ChatroomPage.vue | 18 +++---- webui/src/pages/admin/AdminUserInfo.vue | 32 ++++++------- 6 files changed, 71 insertions(+), 64 deletions(-) diff --git a/webui/.oxfmtrc.json b/webui/.oxfmtrc.json index 4bddb67..f957036 100644 --- a/webui/.oxfmtrc.json +++ b/webui/.oxfmtrc.json @@ -1,5 +1,6 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", "semi": false, - "singleQuote": true + "singleQuote": true, + "bracketSpacing": true } diff --git a/webui/components.d.ts b/webui/components.d.ts index 2ad6b39..bed2522 100644 --- a/webui/components.d.ts +++ b/webui/components.d.ts @@ -36,6 +36,7 @@ declare module 'vue' { NDataTable: typeof import('naive-ui')['NDataTable'] NDrawer: typeof import('naive-ui')['NDrawer'] NDrawerContent: typeof import('naive-ui')['NDrawerContent'] + NDynamicTags: typeof import('naive-ui')['NDynamicTags'] NEllipsis: typeof import('naive-ui')['NEllipsis'] NEmpty: typeof import('naive-ui')['NEmpty'] NFlex: typeof import('naive-ui')['NFlex'] @@ -106,6 +107,7 @@ declare global { const NDataTable: typeof import('naive-ui')['NDataTable'] const NDrawer: typeof import('naive-ui')['NDrawer'] const NDrawerContent: typeof import('naive-ui')['NDrawerContent'] + const NDynamicTags: typeof import('naive-ui')['NDynamicTags'] const NEllipsis: typeof import('naive-ui')['NEllipsis'] const NEmpty: typeof import('naive-ui')['NEmpty'] const NFlex: typeof import('naive-ui')['NFlex'] diff --git a/webui/src/pages/AdminPage.vue b/webui/src/pages/AdminPage.vue index e28ff56..2b0c708 100644 --- a/webui/src/pages/AdminPage.vue +++ b/webui/src/pages/AdminPage.vue @@ -1,10 +1,10 @@ @@ -60,7 +60,7 @@ watch( /> - +