优化视频事件

This commit is contained in:
Harvey Zack committed 2018-11-27 10:54:00 +08:00
1 parent df9fab27eb
commit 9feeb5845c
6 files changed
+166 -86

No files matched your search

+2
View File
@@ -14,12 +14,14 @@ export default class Loading {
hide() {
const { $loading } = this.art.refs;
setStyle($loading, 'display', 'none');
console.log('hide');
this.art.emit('loading:hide', $loading);
}
show() {
const { $loading } = this.art.refs;
setStyle($loading, 'display', 'flex');
console.log('show');
this.art.emit('loading:show', $loading);
}
}