mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 04:36:15 -08:00
update
This commit is contained in:
1 parent
3ed27338c5
commit
3e0c286c09
7 files changed
+43
-24
No files matched your search
@@ -3,7 +3,6 @@ import Icons from './icons';
|
||||
export default class Loading {
|
||||
constructor(art) {
|
||||
this.art = art;
|
||||
this.state = false;
|
||||
this.init();
|
||||
}
|
||||
|
||||
@@ -17,12 +16,10 @@ export default class Loading {
|
||||
}
|
||||
|
||||
hide() {
|
||||
this.state = false;
|
||||
this.art.refs.$loading.style.display = 'none';
|
||||
}
|
||||
|
||||
show() {
|
||||
this.state = true;
|
||||
this.art.refs.$loading.style.display = 'flex';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user