chooseImg(count, sizeType, sourceType) {
FN.Loading(1, '上传中')
if (!count) count = 1
if (!sourceType) sourceType = ['album', 'camera']
return new Promise((resolve, reject) => {
wx.chooseMedia({
count,
sourceType,
mediaType: ['image', 'video'],
success(res) {
console.log(res)
resolve(res)
},
fail(res) {
reject(res)
}
})
})
},
你好只能选择这些呀