fix: 前端修改:图片loading做一个适配,现在图片没加载出来会出现如下情况, 不丝滑

This commit is contained in:
Tim
2025-08-27 12:07:23 +08:00
parent 6cc76593e4
commit 013d47e8e4
32 changed files with 130 additions and 65 deletions

View File

@@ -77,7 +77,7 @@ export function createVditor(editorId, options = {}) {
const list = await fetchMentions(key)
return list.map((u) => ({
value: `@[${u.username}]`,
html: `<img src="${u.avatar}" /> @${u.username}`,
html: `<BaseImage src="${u.avatar}" /> @${u.username}`,
}))
},
},