From 498e71f8b629ac62b7809619e0b0a4617ebaf2b9 Mon Sep 17 00:00:00 2001 From: ahao Date: Thu, 14 Dec 2023 10:41:09 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BE=9D=E8=B5=96=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/api/system/config/index.ts | 2 +- src/components/DictTag/index.vue | 12 ++++--- src/main.ts | 2 +- src/views/monitor/online/index.vue | 12 +++---- src/views/system/dict/data.vue | 12 +++++-- src/views/system/oss/config.vue | 12 ++++--- src/views/system/user/profile/userAvatar.vue | 9 +++--- src/views/tool/gen/index.vue | 2 +- uno.config.ts | 33 ++++++++++++++++++++ vite.config.ts | 3 -- vite/plugins/compression.ts | 4 +-- vite/plugins/index.ts | 20 ++++++------ vite/plugins/unocss.ts | 7 ----- 14 files changed, 85 insertions(+), 46 deletions(-) create mode 100644 uno.config.ts diff --git a/.gitignore b/.gitignore index 40df474..1fd56f0 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ selenium-debug.log package-lock.json yarn.lock +pnpm-lock.yaml # 编译生成的文件 auto-imports.d.ts diff --git a/src/api/system/config/index.ts b/src/api/system/config/index.ts index e52a256..1e4842d 100644 --- a/src/api/system/config/index.ts +++ b/src/api/system/config/index.ts @@ -20,7 +20,7 @@ export function getConfig(configId: string | number): AxiosPromise { } // 根据参数键名查询参数值 -export function getConfigKey(configKey: string): AxiosPromise { +export function getConfigKey(configKey: string): AxiosPromise { return request({ url: '/system/config/configKey/' + configKey, method: 'get' diff --git a/src/components/DictTag/index.vue b/src/components/DictTag/index.vue index 8d9fb40..e5dd57d 100644 --- a/src/components/DictTag/index.vue +++ b/src/components/DictTag/index.vue @@ -2,16 +2,20 @@