@jx3box/jx3box-editor 1.5.4 → 1.5.6
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 +1 -1
- package/src/Upload.vue +2 -2
package/package.json
CHANGED
package/src/Upload.vue
CHANGED
|
@@ -59,7 +59,7 @@ const API_Root = process.env.NODE_ENV === "production" ? __cms : "/";
|
|
|
59
59
|
const API = API_Root + "api/cms/upload";
|
|
60
60
|
|
|
61
61
|
import allow_types from "@jx3box/jx3box-common/data/conf";
|
|
62
|
-
const imgtypes = ["jpg", "png", "gif", "bmp", "webp", "jpeg"];
|
|
62
|
+
const imgtypes = ["jpg", "png", "gif", "bmp", "webp", "jpeg", "JPG", "PNG", "GIF", "BMP", "WEBP", "JPEG"];
|
|
63
63
|
|
|
64
64
|
export default {
|
|
65
65
|
name: "Upload",
|
|
@@ -85,7 +85,7 @@ export default {
|
|
|
85
85
|
return {
|
|
86
86
|
API: API,
|
|
87
87
|
dialogVisible: false,
|
|
88
|
-
tip: this.desc || "一次最多同时上传10
|
|
88
|
+
tip: this.desc || "一次最多同时上传10个文件(单个文件不超过20M),格式限常见的图片、文档、数据表及压缩包",
|
|
89
89
|
btn_txt: this.text || "上传附件",
|
|
90
90
|
|
|
91
91
|
fileList: [],
|