mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
移除深度合并依赖
This commit is contained in:
1 parent
dc8405403c
commit
b943bcde99
13 files changed
+232
-267
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import merge from 'deepmerge';
|
||||
import { mergeDeep } from './utils';
|
||||
|
||||
let i18nMap = {
|
||||
'zh-cn': {
|
||||
@@ -84,7 +84,7 @@ export default class I18n {
|
||||
}
|
||||
|
||||
update(value) {
|
||||
i18nMap = merge(i18nMap, value);
|
||||
i18nMap = mergeDeep(i18nMap, value);
|
||||
this.init();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user