plusChoseVideo = (param) => {
return new Promise((resolve, reject) => {
plus.gallery.pick(function (e) {
const res = {
code: 1,
list: e
}
console.log(res)
resolve(res)
}, function (err) {
reject(err)
}, {filter: 'video', multiple: true, ...param})
})
}
返回的res中的路径file多次拼接
0 个回复