fix(chat): improve history rendering stability

This commit is contained in:
wizardchen
2026-05-21 10:55:13 +08:00
committed by lyingbug
parent 5bdaf58d45
commit 8f4626158d
2 changed files with 40 additions and 9 deletions
+4
View File
@@ -20,6 +20,10 @@ const i18n = createI18n({
locale: savedLocale,
fallbackLocale: 'zh-CN',
globalInjection: true,
// Some translations intentionally embed `<strong>` markup (e.g. agent step summaries).
// We render them via v-html with our own sanitization, so silence vue-i18n's HTML warning
// to avoid flooding the console and slowing renders during history loads.
warnHtmlMessage: false,
messages
})