diff --git a/src/uni_modules/wot-design-uni/components/wd-action-sheet/wd-action-sheet.vue b/src/uni_modules/wot-design-uni/components/wd-action-sheet/wd-action-sheet.vue index 459442a3b..3711d6207 100644 --- a/src/uni_modules/wot-design-uni/components/wd-action-sheet/wd-action-sheet.vue +++ b/src/uni_modules/wot-design-uni/components/wd-action-sheet/wd-action-sheet.vue @@ -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')