mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
update setting
This commit is contained in:
1 parent
37d2ae1d01
commit
c8c08137c4
3 files changed
+5
-3
No files matched your search
@@ -4643,7 +4643,8 @@ class Setting extends (0, _componentDefault.default) {
|
||||
}
|
||||
add(setting) {
|
||||
this.remove();
|
||||
this.option.push(setting);
|
||||
const settingCopy = (0, _utils.mergeDeep)({}, setting);
|
||||
this.option.push(settingCopy);
|
||||
this.option = Setting.makeRecursion(this.option);
|
||||
this.render(this.option);
|
||||
return this.option;
|
||||
|
||||
Reference in new issue
Block a user