lancet-oss
v1.0.33
Published
oss
Downloads
6
Readme
OSS媒体文件上传
集成方法
import useOSSUpload from 'lancet-oss/OSS'
useOSSUpload(<oss option>,<file>).then(res=>{}) //oss配置 file文件
option={
region,
accessKeyId,
accessKeySecret,
stsToken,
bucket,
clientId,
userId,
dir,
callbackUrl
}
构建
npm install lancet-oss