上传组件修改api

This commit is contained in:
aixianling
2023-04-04 18:10:54 +08:00
parent 1e24554662
commit 416d32d901

View File

@@ -118,7 +118,7 @@ export default {
if (this.type == 'image') {
uni.chooseImage(params)
} else if (this.type == 'video') {
uni.chooseVideo(params)
uni.chooseMedia(params)
} else {
uni.chooseFile(params)
}