From 309b3604c591a904740d6fa9f37a30e4524e2357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=94=E5=9D=97=E9=92=B1=E7=9A=84=E6=9E=9C=E6=B1=81?= Date: Tue, 27 Jul 2021 02:49:42 +0000 Subject: [PATCH] !97 update docs/component/scroll-view.md. * update docs/component/scroll-view.md. --- docs/component/scroll-view.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/component/scroll-view.md b/docs/component/scroll-view.md index ffe43da63..145cfcc92 100644 --- a/docs/component/scroll-view.md +++ b/docs/component/scroll-view.md @@ -98,7 +98,7 @@ export default { }, goTop: function(e) { this.scrollTop = this.old.scrollTop - this.$nextTick(function() { + this.$nextTick(() => { this.scrollTop = 0 }); uni.showToast({ -- GitLab