i18n 关闭xss警报

This commit is contained in:
2026-02-05 10:58:41 +08:00
parent 59e8e5f749
commit 3cb14396c4

View File

@@ -24,6 +24,7 @@ const messages = {
// 创建 i18n
const i18n = createI18n({
warnHtmlMessage: false,
legacy: false,
globalInjection:true, // 全局模式,可以直接使用 $t
locale: 'ENGLISH',