Browse Source

添加图片支持

tianyunperfect 4 years ago
parent
commit
8aea000c0e
1 changed files with 1 additions and 1 deletions
  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 >= 300000 || formValues.back.length >= 300000) {
               message.info("文字太长了,减少一些吧!");
               return;
             }