mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-11 11:46:38 +08:00
fix(preferences): 详细说明本地图片路径为"apps/web-antd/public/"目录
This commit is contained in:
@@ -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',
|
||||||
// },
|
// },
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user