Browse Source

fix(list): list 虚拟列表未设置height,滚动加载有问题 #2088

suzigang 2 years ago
parent
commit
7135bb9fc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packages/__VUE/list/index.taro.vue

+ 1 - 1
src/packages/__VUE/list/index.taro.vue

@@ -29,7 +29,7 @@ export default create({
   props: {
   props: {
     height: {
     height: {
       type: [Number],
       type: [Number],
-      default: 0
+      default: 50
     },
     },
     listData: {
     listData: {
       type: Array,
       type: Array,