mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
压缩多余字符
This commit is contained in:
1 parent
707df15b2d
commit
0c1c1273a6
47 files changed
+356
-382
No files matched your search
@@ -11,11 +11,11 @@ export default class Loading {
|
||||
const { $player } = this.art.template;
|
||||
if (value) {
|
||||
this.state = true;
|
||||
addClass($player, 'artplayer-loading-show');
|
||||
addClass($player, 'art-loading-show');
|
||||
this.art.emit('loading:show');
|
||||
} else {
|
||||
this.state = false;
|
||||
removeClass($player, 'artplayer-loading-show');
|
||||
removeClass($player, 'art-loading-show');
|
||||
this.art.emit('loading:hide');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user