This commit is contained in:
Harvey Zack committed 2018-10-16 15:49:26 +08:00
1 parent 3ed27338c5
commit 3e0c286c09
7 files changed
+43 -24

No files matched your search

-3
View File
@@ -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';
}
}