docs update

This commit is contained in:
Harvey Zack committed 2018-11-27 15:48:30 +08:00
1 parent 2543739c9a
commit 5f67ddf983
4 files changed
+80 -7

No files matched your search

-2
View File
@@ -14,14 +14,12 @@ 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);
}
}