mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
update artplayer.d.ts
This commit is contained in:
1 parent
71fad99a6a
commit
a3b767f15d
9 files changed
+36
-32
No files matched your search
@@ -94,7 +94,7 @@ export default class Setting extends Component {
|
||||
this.$parent.innerHTML = '';
|
||||
}
|
||||
|
||||
update(settings = []) {
|
||||
update(settings) {
|
||||
this.remove();
|
||||
this.events = [];
|
||||
this.cache = new Map();
|
||||
@@ -106,8 +106,7 @@ export default class Setting extends Component {
|
||||
|
||||
add(setting) {
|
||||
this.option.push(setting);
|
||||
this.update();
|
||||
return setting;
|
||||
return this.update(this.option);
|
||||
}
|
||||
|
||||
creatHeader(item) {
|
||||
|
||||
Reference in new issue
Block a user