From 41093a39b03f88fc54db69681e00bc8281bf586f Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 20 Nov 2024 13:55:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=8D=A2logo=E7=9A=84?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/preferences.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index 4866b15e..a720778f 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -47,4 +47,18 @@ export const overridesPreferences = defineOverridesPreferences({ */ semiDarkSidebar: false, }, + /** + * !!! 更改配置后请清空浏览器缓存 + * 在这里更换logo + * source可选值: + * 1. 本地public目录下的图片 需要加上/ 比如:/logo.png + * 2. 网络图片链接 + * 3. vite导入的图片 import xxx from 'xxx.png' + * + * !!! 更改配置后请清空浏览器缓存 + */ + // logo: { + // enable: true, + // source: '', + // }, });