FIX 上传组件accept设置错误导致移动端无法打开资源管理器

This commit is contained in:
sakuya 2021-07-27 20:37:01 +08:00
parent 757a0c401a
commit 2a0353ebe5
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
modelValue: { type: String, default: "" },
action: { type: String, default: "" },
apiObj: { type: Object, default: () => {} },
accept: { type: String, default: ".jpg, .png, .jpeg, .gif" },
accept: { type: String, default: "image/gif, image/jpeg, image/png" },
maxSize: { type: Number, default: config.maxSize },
title: { type: String, default: "" },
icon: { type: String, default: "el-icon-plus" },

View File

@ -41,7 +41,7 @@
modelValue: { type: String, default: "" },
action: { type: String, default: "" },
apiObj: { type: Object, default: () => {} },
accept: { type: String, default: ".jpg, .png, .jpeg, .gif" },
accept: { type: String, default: "image/gif, image/jpeg, image/png" },
maxSize: { type: Number, default: config.maxSize },
title: { type: String, default: "" },
icon: { type: String, default: "el-icon-plus" }