BUG 29373
This commit is contained in:
@@ -88,6 +88,7 @@ export default {
|
|||||||
this.$emit('list', this.fileList)
|
this.$emit('list', this.fileList)
|
||||||
},
|
},
|
||||||
upload(wait) {
|
upload(wait) {
|
||||||
|
typeof wait == 'function' && wait()
|
||||||
let count = this.limit - (this.fileList?.length||0)
|
let count = this.limit - (this.fileList?.length||0)
|
||||||
if(count>0){
|
if(count>0){
|
||||||
let params = {
|
let params = {
|
||||||
@@ -108,7 +109,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
typeof wait == 'function' && wait()
|
|
||||||
if (this.type == 'image') {
|
if (this.type == 'image') {
|
||||||
uni.chooseImage(params)
|
uni.chooseImage(params)
|
||||||
} else if (this.type == 'video') {
|
} else if (this.type == 'video') {
|
||||||
|
|||||||
Reference in New Issue
Block a user