Skip to content

Commit

Permalink
fix(wx-react-native): 添加enable-fix,消除控制台enable-fix警告
Browse files Browse the repository at this point in the history
  • Loading branch information
ykforerlang committed Aug 12, 2019
1 parent 342d407 commit 4ba69eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

<template name="flatList">
<scroll-view
enable-flex
bindscrolltoupper="onScrollToupper"
scroll-y
scroll-top="{{onRefreshPassed ? (sr ? 0: 80) : 0}}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<block wx:if="{{!horizontal}}">
<scroll-view
enable-flex
scroll-y
scroll-with-animation="{{withAni}}"
bindscroll="outScroll"
Expand All @@ -16,6 +17,7 @@
</block>
<block wx:else>
<scroll-view
enable-flex
scroll-x
scroll-with-animation="{{withAni}}"
bindscroll="outScroll"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<template name="sectionList">
<scroll-view
enable-flex
bindscrolltoupper="onScrollToupper"
scroll-y
scroll-top="{{onRefreshPassed ? (sr ? 0: 80) : 0}}"
Expand Down

0 comments on commit 4ba69eb

Please sign in to comment.