i18n 关闭xss警报
This commit is contained in:
@@ -24,6 +24,7 @@ const messages = {
|
|||||||
|
|
||||||
// 创建 i18n
|
// 创建 i18n
|
||||||
const i18n = createI18n({
|
const i18n = createI18n({
|
||||||
|
warnHtmlMessage: false,
|
||||||
legacy: false,
|
legacy: false,
|
||||||
globalInjection:true, // 全局模式,可以直接使用 $t
|
globalInjection:true, // 全局模式,可以直接使用 $t
|
||||||
locale: 'ENGLISH',
|
locale: 'ENGLISH',
|
||||||
|
|||||||
Reference in New Issue
Block a user