diff --git a/uni_modules/uview-plus/components/u-index-list/u-index-list.vue b/uni_modules/uview-plus/components/u-index-list/u-index-list.vue index 1f52417..1ec5b68 100644 --- a/uni_modules/uview-plus/components/u-index-list/u-index-list.vue +++ b/uni_modules/uview-plus/components/u-index-list/u-index-list.vue @@ -5,8 +5,9 @@ :scrollTop="scrollTop" enable-back-to-top :offset-accuracy="1" - :style="{ - maxHeight: $u.addUnit(scrollViewHeight) + :style="{ + height: '100%', + // maxHeight: $u.addUnit(scrollViewHeight) }" @scroll="scrollHandler" ref="uList" @@ -28,8 +29,9 @@ :scrollTop="scrollTop" :scrollIntoView="scrollIntoView" :offset-accuracy="1" - :style="{ - maxHeight: $u.addUnit(scrollViewHeight) + :style="{ + height: '100%', + // maxHeight: $u.addUnit(scrollViewHeight) }" scroll-y @scroll="scrollHandler" @@ -388,8 +390,8 @@