fix: 所有弹窗仅通过关闭按钮关闭,点击遮罩不再关闭

This commit is contained in:
jinghui committed 2026-11-19 09:10:51 +08:00
1 parent fa989d0220
commit 3c3d834806
7 files changed
+8 -8

No files matched your search

@@ -203,7 +203,7 @@ function BatchWatermarkModal({ isOpen, mode, folder, libraryId, onClose, onFinis
: 0;
return (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4" onClick={handleClose}>
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4">
<div
className="bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-full max-w-2xl max-h-[90vh] overflow-hidden flex flex-col"
onClick={(e) => e.stopPropagation()}