lanjianrong před 5 roky
rodič
revize
18439a6803

+ 1 - 1
src/components/EditableForm/editableFormItem.jsx

@@ -31,7 +31,7 @@ const EditableFormItem = ({ label, dataIndex, record, dataId, span, editCellType
   }
   const save = async e => {
     const { value = '' } = e.currentTarget
-    if (value === record) {
+    if (value === record || !value) {
       return
     }
     setVal(value)