fix(preferences): 详细说明本地图片路径为"apps/web-antd/public/"目录

This commit is contained in:
wcg
2026-02-10 16:26:30 +08:00
parent 9afeb59766
commit 16b2238f5b

View File

@@ -59,7 +59,7 @@ export const overridesPreferences = defineOverridesPreferences({
* !!! 更改配置后请清空浏览器缓存 * !!! 更改配置后请清空浏览器缓存
* 在这里更换logo * 在这里更换logo
* source可选值 * source可选值
* 1. 本地public目录下的图片 需要加上/ 比如:/logo.png * 1. 本地"apps/web-antd/public/"目录下的图片 需要加上/ 比如:/logo.png
* 2. 网络图片链接 * 2. 网络图片链接
* 3. vite导入的图片 import xxx from 'xxx.png' * 3. vite导入的图片 import xxx from 'xxx.png'
* *
@@ -67,6 +67,6 @@ export const overridesPreferences = defineOverridesPreferences({
*/ */
// logo: { // logo: {
// enable: true, // enable: true,
// source: '', // source: '/logo.png',
// }, // },
}); });