Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -130,7 +130,8 @@ export default struct CustomLayout { | @@ -130,7 +130,8 @@ export default struct CustomLayout { | ||
| 130 | this.animate2() | 130 | this.animate2() |
| 131 | } else { | 131 | } else { |
| 132 | // 刷新完成 | 132 | // 刷新完成 |
| 133 | - lottie.destroy() | 133 | + !!this.animateItem && lottie.destroy(this.animateName) |
| 134 | + !!this.animateItem2 && lottie.destroy(this.animateName2) | ||
| 134 | } | 135 | } |
| 135 | let maxH = CustomLayout.REFRESH_HEIGHT | 136 | let maxH = CustomLayout.REFRESH_HEIGHT |
| 136 | let tmpHeight = this.refreshBean.offset > maxH ? maxH : this.refreshBean.offset | 137 | let tmpHeight = this.refreshBean.offset > maxH ? maxH : this.refreshBean.offset |
-
Please register or login to post a comment