删除多余事件

This commit is contained in:
Harvey committed 2019-11-28 10:10:29 +08:00
1 parent e0faa3fe68
commit 7ff61b4660
38 files changed
+266 -516

No files matched your search

+2 -2
View File
@@ -136,8 +136,8 @@ export default class Template {
this.$video = this.query('.art-video');
}
destroy(removeHtml) {
if (removeHtml) {
destroy(remove) {
if (remove) {
this.$container.innerHTML = '';
} else {
addClass(this.$player, 'art-destroy');