mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 09:38:44 +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
|
colIndex
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
close()
|
if (props.closeOnClickAction) {
|
||||||
|
close()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function handleClickModal() {
|
function handleClickModal() {
|
||||||
emit('click-modal')
|
emit('click-modal')
|
||||||
// if (props.closeOnClickModal) {
|
|
||||||
// close()
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
function handleCancel() {
|
function handleCancel() {
|
||||||
emit('cancel')
|
emit('cancel')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user