瀏覽代碼

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

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 IMAGE_EXCEED_SIZE_AS_ATTACHMENT = 10 * 1024;
 export const JSON_EXCEED_SIZE_AS_ATTACHMENT = 200 * 1024;
 export const JSON_EXCEED_SIZE_AS_ATTACHMENT = 200 * 1024;
 export const MAX_AUDIO_SIZE = 10 * 1024 * 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 MAX_JSON_SIZE = 2 * 1024 * 1024;
 
 
 export const AUDIO_IMG_URL =
 export const AUDIO_IMG_URL =