fix(chat): improve history rendering stability
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user