From 16b2238f5bbcaa5b45c95b57b4ed32771a3a5324 Mon Sep 17 00:00:00 2001 From: wcg Date: Tue, 10 Feb 2026 16:26:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(preferences):=20=E8=AF=A6=E7=BB=86=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=E6=9C=AC=E5=9C=B0=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E4=B8=BA"apps/web-antd/public/"=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Vben5.Vue3/apps/web-antd/src/preferences.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/preferences.ts b/Yi.Vben5.Vue3/apps/web-antd/src/preferences.ts index 1e7f1a04..18510ede 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/preferences.ts +++ b/Yi.Vben5.Vue3/apps/web-antd/src/preferences.ts @@ -59,7 +59,7 @@ export const overridesPreferences = defineOverridesPreferences({ * !!! 更改配置后请清空浏览器缓存 * 在这里更换logo * source可选值: - * 1. 本地public目录下的图片 需要加上/ 比如:/logo.png + * 1. 本地"apps/web-antd/public/"目录下的图片 需要加上/ 比如:/logo.png * 2. 网络图片链接 * 3. vite导入的图片 import xxx from 'xxx.png' * @@ -67,6 +67,6 @@ export const overridesPreferences = defineOverridesPreferences({ */ // logo: { // enable: true, - // source: '', + // source: '/logo.png', // }, });