소스 검색

扩大富文本图片上次的限制尺寸

zhangjie 2 년 전
부모
커밋
f850ebd61e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/vEditor/constants.js

+ 1 - 1
src/components/vEditor/constants.js

@@ -1,7 +1,7 @@
 export const IMAGE_EXCEED_SIZE_AS_ATTACHMENT = 10 * 1024;
 export const JSON_EXCEED_SIZE_AS_ATTACHMENT = 200 * 1024;
 export const MAX_AUDIO_SIZE = 10 * 1024 * 1024;
-export const MAX_IMAGE_SIZE = 1000 * 1024;
+export const MAX_IMAGE_SIZE = 1 * 1024 * 1024;
 export const MAX_JSON_SIZE = 2 * 1024 * 1024;
 
 export const AUDIO_IMG_URL =