mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 20:21:20 -08:00
update Component
This commit is contained in:
1 parent
3c8cb0e2e2
commit
90915652aa
5 files changed
+17
-27
No files matched your search
@@ -67,9 +67,12 @@ export default class Events {
|
||||
});
|
||||
}
|
||||
|
||||
remove(event) {
|
||||
const index = this.destroyEvents.indexOf(event);
|
||||
if (index > -1) this.destroyEvents.splice(index, 1);
|
||||
remove(destroyEvent) {
|
||||
const index = this.destroyEvents.indexOf(destroyEvent);
|
||||
if (index > -1) {
|
||||
destroyEvent();
|
||||
this.destroyEvents.splice(index, 1);
|
||||
}
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
||||
Reference in new issue
Block a user