Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lhlyu committed Jul 3, 2023
1 parent 2a5b360 commit 3bc28d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ app.use(VueVirtualWaterfall)
| contentMaxWidth | string or number | '100%' | 内容最大宽度 |
| preloadScreenCount | number | 1 | 预加载屏数量 |
| bottomDistance | number | 2000 | 距离底部多少时触发加载更多事件 |
| itemMinWidth | number | 240 | 每个item最小宽度 |
| itemMinWidth | number | 320 | 每个item最小宽度 |
| loading | boolean | false | 是否正在加载数据 |
| items | any[] | [] | 数据 |
| calcItemHeight | (item: any, itemWidth: number) => number | (item: any, itemWidth: number) => 0 | 计算item高度的方法 |
Expand Down
2 changes: 1 addition & 1 deletion src/vue-virtual-waterfall/virtual-waterfall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const props = withDefaults(defineProps<VirtualWaterfallOption>(), {
preloadScreenCount: 1,
bottomDistance: 2000,
contentMaxWidth: '100%',
itemMinWidth: 240,
itemMinWidth: 320,
loading: false,
items: () => [],
calcItemHeight: (item: any, itemWidth: number) => 0
Expand Down

0 comments on commit 3bc28d3

Please sign in to comment.