فهرست منبع

feat: [AddRecord] mask click can't close modal

lanjianrong 4 سال پیش
والد
کامیت
3883ffc561
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/pages/Customer/Client/components/ClientDetail/AddRecord.tsx

+ 1 - 0
src/pages/Customer/Client/components/ClientDetail/AddRecord.tsx

@@ -47,6 +47,7 @@ const AddRecord: React.FC<AddRecordProps> = ({ defaultValues, onConfirm, ...rese
   return (
   return (
     <Modal
     <Modal
       {...resetModalProps}
       {...resetModalProps}
+      maskClosable={false}
       title="添加服务记录"
       title="添加服务记录"
       getContainer={() => document.getElementById('root')}
       getContainer={() => document.getElementById('root')}
       onOk={() => {
       onOk={() => {