This commit is contained in:
Harvey Zack committed 2019-04-30 17:19:12 +08:00
1 parent a817034907
commit c323cea07a
3 files changed
+9 -7

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ export default class I18n {
}
init() {
this.language = this.languages[this.art.option.lang.toLowerCase()] || {};
const lang = this.art.option.lang.toLowerCase();
this.language = this.languages[lang] || {};
}
get(key) {