tianyunperfect 5 anni fa
parent
commit
9615fef292
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/pages/Memory/components/UpdateForm.tsx

+ 1 - 1
src/pages/Memory/components/UpdateForm.tsx

@@ -77,7 +77,7 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
               message.info("你是不是没有输入文字?");
               return;
             }
-            if (formValues.front.length >= 3000 || formValues.back.length >= 3000) {
+            if (formValues.front.length >= 2000 || formValues.back.length >= 2000) {
               message.info("文字太长了,减少一些吧!");
               return;
             }