fx-platform-ui 0.0.12 → 0.0.13-alpha2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ export const platEditorProps = {
|
|
|
9
9
|
mediaSetting: {
|
|
10
10
|
type: Object as PropType<MediaSetting>,
|
|
11
11
|
default: () => ({
|
|
12
|
-
fileSizeLimit: 500, // 默认500M
|
|
12
|
+
fileSizeLimit: 500, // 默认500M限制的媒体大小
|
|
13
13
|
fileTypeLimit: [
|
|
14
14
|
'.pdf',
|
|
15
15
|
'.txt',
|
|
@@ -43,7 +43,7 @@ export const platEditorProps = {
|
|
|
43
43
|
imageSetting: {
|
|
44
44
|
type: Object as PropType<ImageSetting>,
|
|
45
45
|
default: () => ({
|
|
46
|
-
fileSizeLimit: 10, // 默认
|
|
46
|
+
fileSizeLimit: 10, // 默认10M限制的图片大小
|
|
47
47
|
fileTypeLimit: ['.png', '.apng', '.jpg', '.jpeg', '.gif', '.svg'], // 逗号间隔的文件图片类型
|
|
48
48
|
fileNameLength: 50 // 限制附件名称长度
|
|
49
49
|
})
|