mirror of
https://github.com/youzan/vant.git
synced 2025-12-22 01:07:29 +08:00
[Improvement] PullRefresh: support trigger loading animation (#684)
This commit is contained in:
@@ -76,10 +76,8 @@ export default create({
|
||||
|
||||
watch: {
|
||||
value(val) {
|
||||
if (!val) {
|
||||
this.duration = this.animationDuration;
|
||||
this.getStatus(0);
|
||||
}
|
||||
this.duration = this.animationDuration;
|
||||
this.getStatus(val ? this.headHeight : 0, val);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user