Skip to content

Commit d5c2494

Browse files
committed
XModal添加是否允许点击遮罩层,按Esc键关闭页面字段
1 parent d8e540e commit d5c2494

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/XModal/src/XModal.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const props = defineProps({
1212
height: propTypes.string,
1313
minWidth: propTypes.string.def('460'),
1414
minHeight: propTypes.string.def('320'),
15-
showFooter: propTypes.bool.def(true)
15+
showFooter: propTypes.bool.def(true),
16+
maskClosable: propTypes.bool.def(false),
17+
escClosable: propTypes.bool.def(false)
1618
})
1719
1820
const getBindValue = computed(() => {

0 commit comments

Comments
 (0)