mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 09:08:51 +08:00
feat: ✨ ActionSheet 支持 close-on-click-action 控制点击选项后是否关闭菜单功能 (#891)
✅ Closes: #698
This commit is contained in:
parent
25649dbca5
commit
a1b035a6fe
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user