[Improvement] PullRefresh: add refersh event (#625)

This commit is contained in:
neverland
2018-02-08 10:38:34 +08:00
committed by GitHub
parent c2773b49a6
commit 6ed43f8c75
5 changed files with 55 additions and 42 deletions

View File

@@ -127,6 +127,7 @@ export default create({
if (this.status === 'loosing') {
this.getStatus(this.headHeight, true);
this.$emit('input', true);
this.$emit('refresh');
} else {
this.getStatus(0);
}