上传组件修改api
This commit is contained in:
@@ -118,7 +118,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') {
|
||||||
uni.chooseVideo(params)
|
uni.chooseMedia(params)
|
||||||
} else {
|
} else {
|
||||||
uni.chooseFile(params)
|
uni.chooseFile(params)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user