diff --git a/packages/editor-ui/src/components/ModalDrawer.vue b/packages/editor-ui/src/components/ModalDrawer.vue index 0c7d477374..e7b113e991 100644 --- a/packages/editor-ui/src/components/ModalDrawer.vue +++ b/packages/editor-ui/src/components/ModalDrawer.vue @@ -13,10 +13,13 @@ const props = withDefaults( modal?: boolean; width: string; wrapperClosable?: boolean; + closeOnClickModal?: boolean; + zIndex?: number; }>(), { modal: true, wrapperClosable: true, + closeOnClickModal: false, }, ); @@ -77,6 +80,8 @@ onBeforeUnmount(() => { :before-close="close" :modal="modal" :wrapper-closable="wrapperClosable" + :close-on-click-modal="closeOnClickModal" + :z-index="zIndex" >