fix(admin-web): disable backdrop click to close upload modal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-07 04:48:35 -08:00
parent b710d416d1
commit 839df343a4
1 changed files with 2 additions and 2 deletions

View File

@ -266,8 +266,8 @@ const UploadModal: React.FC<{
const handleClose = () => { reset(); onClose(); }; const handleClose = () => { reset(); onClose(); };
return ( return (
<div style={overlayStyle} onClick={handleClose}> <div style={overlayStyle}>
<div style={modalStyle} onClick={(e) => e.stopPropagation()}> <div style={modalStyle}>
<h2 style={{ margin: '0 0 8px' }}>{t('app_version_upload')}</h2> <h2 style={{ margin: '0 0 8px' }}>{t('app_version_upload')}</h2>
<label style={labelStyle}>{t('app_version_upload_file')}</label> <label style={labelStyle}>{t('app_version_upload_file')}</label>