From 58b3e48a9cf75b2685cb348c688e1f78ea89fc5e Mon Sep 17 00:00:00 2001 From: ZakaryCode Date: Thu, 5 Dec 2019 23:03:56 +0800 Subject: [PATCH] docs: scroll-view --- docs/components/viewContainer/scroll-view.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/components/viewContainer/scroll-view.md b/docs/components/viewContainer/scroll-view.md index 060feb3d9839..d594a2bfa620 100755 --- a/docs/components/viewContainer/scroll-view.md +++ b/docs/components/viewContainer/scroll-view.md @@ -50,14 +50,10 @@ export default class PageView extends Component { super(...arguments) } - onScrollToUpper(e){ - console.log(e.detail) - } + onScrollToUpper() {} // or 使用箭头函数 - // onScrollToUpper = (e) => { - // console.log(e.detail) - // } + // onScrollToUpper = () => {} onScroll(e){ console.log(e.detail)