Skip to content

Commit

Permalink
feat: ✨ ActionSheet 支持 close-on-click-action 控制点击选项后是否关闭菜单功能 (#891)
Browse files Browse the repository at this point in the history
Closes: #698
  • Loading branch information
Moonofweisheng authored Feb 12, 2025
1 parent 25649db commit a1b035a
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,12 @@ function select(rowIndex: number, type: 'action' | 'panels', colIndex?: number)
colIndex
})
}
close()
if (props.closeOnClickAction) {
close()
}
}
function handleClickModal() {
emit('click-modal')
// if (props.closeOnClickModal) {
// close()
// }
}
function handleCancel() {
emit('cancel')
Expand Down

0 comments on commit a1b035a

Please sign in to comment.