Explorar o código

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

zhangjie %!s(int64=2) %!d(string=hai) anos
pai
achega
f850ebd61e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 =