refactor: 点击遮罩不关闭
This commit is contained in:
parent
a37dccdec0
commit
ba3fc0fe10
@ -30,6 +30,7 @@ const [BasicForm, formApi] = useVbenForm({
|
||||
|
||||
const [BasicModal, modalApi] = useVbenModal({
|
||||
fullscreenButton: false,
|
||||
closeOnClickModal: false,
|
||||
onCancel: handleCancel,
|
||||
onConfirm: handleConfirm,
|
||||
onOpenChange: async (isOpen) => {
|
||||
@ -72,7 +73,7 @@ async function handleCancel() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<BasicModal :fullscreen-button="true" :title="title" class="w-[800px]">
|
||||
<BasicModal :title="title" class="w-[800px]">
|
||||
<BasicForm />
|
||||
</BasicModal>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user