【发布时间】:2020-05-04 22:48:26
【问题描述】:
我要上传多个文件,这段代码只选择一个文件上传
const { value: file } = await Swal.fire({
title: 'Select image',
input: 'file',
inputAttributes: {
'accept': 'image/*',
'aria-label': 'Upload your profile picture'
}
})
【问题讨论】:
-
您的 codepen 链接无效
标签: javascript jquery sweetalert sweetalert2