Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit 310c7a6

Browse files
author
pengshanglong
committed
fix: ActionSheetFooter onClick props
1 parent 7799ffb commit 310c7a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/action-sheet/index.jsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export default {
7777
{title && <ActionSheetHeader>{title}</ActionSheetHeader>}
7878
<ActionSheetBody>{this.$slots.default}</ActionSheetBody>
7979
{cancelText && (
80-
<ActionSheetFooter onTap={this.handleCancel}>{cancelText}</ActionSheetFooter>
80+
<ActionSheetFooter props={{ onClick: this.handleCancel }}>
81+
{cancelText}
82+
</ActionSheetFooter>
8183
)}
8284
</view>
8385
</view>

0 commit comments

Comments
 (0)