fix: 弹窗只能点击一次
parent
de2662ca8f
commit
ccaef2b591
|
|
@ -97,6 +97,7 @@ export function useVbenModal<TParentModalProps extends ModalProps = ModalProps>(
|
|||
mergedOptions.onClosed = () => {
|
||||
onClosed?.();
|
||||
if (mergedOptions.destroyOnClose) {
|
||||
injectData.consumed = false;
|
||||
injectData.reCreateModal?.();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue