上传视频

This commit is contained in:
liuye
2022-06-28 11:32:35 +08:00
parent 6aa7863083
commit 1fcee961c2

View File

@@ -112,7 +112,7 @@ export default {
if (this.type == 'image') { if (this.type == 'image') {
uni.chooseImage(params) uni.chooseImage(params)
} else if (this.type == 'video') { } else if (this.type == 'video') {
params.sourceType = ['camera'] params.sourceType = ['camera', 'album']
uni.chooseVideo(params) uni.chooseVideo(params)
} else { } else {
uni.chooseFile(params) uni.chooseFile(params)