fixed #197
This commit is contained in:
梁灏 2017-01-13 15:35:38 +08:00
parent 51f9f894eb
commit e011898cc7
2 changed files with 26 additions and 9 deletions

View file

@ -197,11 +197,12 @@
visible (val) {
if (val === false) {
this.buttonLoading = false;
setTimeout(() => {
this.timer = setTimeout(() => {
this.wrapShow = false;
this.removeScrollEffect();
}, 300);
} else {
if (this.timer) clearTimeout(this.timer);
this.wrapShow = true;
this.addScrollEffect();
}