提交 16da9b82 编写于 作者: Q qiang

fix(App): uni.chooseVideo 使用非系统相册

上级 6016bd2e
......@@ -36,9 +36,12 @@ export function chooseVideo ({
}
function openAlbum () {
plus.gallery.pick(successCallback, errorCallback, {
plus.gallery.pick(({ files }) => successCallback(files[0]), errorCallback, {
filter: 'video',
system: false,
// 不启用 multiple 时 system 无效
multiple: true,
maximum: 1,
filename: TEMP_PATH + '/gallery/',
permissionAlert: true
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册