Optional
options: { 打开配置
Optional
accept?: stringOptional
multiple?: booleanOptional
resultopenFileSelect({ multiple: true }).then(fileList => console.log(fileList));
openFileSelect({ multiple: true, accept: 'image/*', resultType: 'blob' }).then(fileBlobList => console.log(fileBlobList));
openFileSelect({ multiple: true, accept: '.txt', resultType: 'base64' }).then(fileDataUrlList => console.log(fileDataUrlList));
在浏览器中打开文件选择框