Skip to content

Commit

Permalink
fix: 解决微信小程序滚动报错问题 (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
irisSong authored Dec 5, 2024
1 parent fbfe98f commit 8bd8fa7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/elevator/demos/taro/demo2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const Demo2 = () => {
}
return (
<Elevator
className="test-elevator1"
className="test-elevator2"
list={dataList}
height="220"
floorKey={floorKey}
Expand Down
1 change: 1 addition & 0 deletions src/packages/elevator/demos/taro/demo3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const Demo3 = () => {
}
return (
<Elevator
className="test-elevator3"
showKeys={false}
list={dataList}
height="260"
Expand Down
1 change: 1 addition & 0 deletions src/packages/elevator/demos/taro/demo4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ const Demo4 = () => {
}
return (
<Elevator
className="test-elevator4"
list={dataList}
height="220"
sticky
Expand Down
1 change: 1 addition & 0 deletions src/packages/elevator/demos/taro/demo5.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const Demo5 = () => {
}
return (
<Elevator
className="test-elevator5"
list={dataList}
height="260"
onItemClick={(key: string, item: any) => onItemClick(key, item)}
Expand Down

0 comments on commit 8bd8fa7

Please sign in to comment.