Просмотр исходного кода

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

lanjianrong 4 лет назад
Родитель
Сommit
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 (
     <Modal
       {...resetModalProps}
+      maskClosable={false}
       title="添加服务记录"
       getContainer={() => document.getElementById('root')}
       onOk={() => {