添加手机白名单

This commit is contained in:
Harvey Zack committed 2018-11-27 09:35:34 +08:00
1 parent ae8a916118
commit df9fab27eb
7 files changed
+103 -14

No files matched your search

+3 -3
View File
@@ -70,13 +70,13 @@ let i18nMap = {
};
export default class I18n {
constructor({ option }) {
this.option = option;
constructor(art) {
this.art = art;
this.init();
}
init() {
this.language = i18nMap[this.option.lang.toLowerCase()] || {};
this.language = i18nMap[this.art.option.lang.toLowerCase()] || {};
}
get(key) {