fix: 弹窗只能点击一次

pull/326/head
xingyu4j 2026-01-28 14:32:06 +08:00
parent de2662ca8f
commit ccaef2b591
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ export function useVbenModal<TParentModalProps extends ModalProps = ModalProps>(
mergedOptions.onClosed = () => {
onClosed?.();
if (mergedOptions.destroyOnClose) {
injectData.consumed = false;
injectData.reCreateModal?.();
}
};