Commit 9cd7c401 authored by dragondean@qq.com's avatar dragondean@qq.com

控制台不打印翻译缺失警告

parent ae436a40
......@@ -49,7 +49,9 @@ const i18n = new VueI18n({
// options: en | zh | es
locale: getLanguage() || 'zh_CN',
// set locale messages
messages
messages,
// 控制台不打印警告
silentTranslationWarn: true
})
// 自动提取脚本只匹配$t,所以给个别名
i18n.$t = i18n.t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment