mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11: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
@@ -108,7 +108,8 @@ export default class Setting extends Component {
|
||||
|
||||
add(setting) {
|
||||
this.remove();
|
||||
this.option.push(setting);
|
||||
const settingCopy = 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