mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
添加手机白名单
This commit is contained in:
1 parent
ae8a916118
commit
df9fab27eb
7 files changed
+103
-14
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user