From 009c72cae5fa86b585a4a3ad7e0b34778ef71b99 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 28 Apr 2022 09:51:46 +0800 Subject: [PATCH] BUG 29373 --- src/components/AiUploader.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AiUploader.vue b/src/components/AiUploader.vue index e4f001dd..699b6d1b 100644 --- a/src/components/AiUploader.vue +++ b/src/components/AiUploader.vue @@ -88,6 +88,7 @@ export default { this.$emit('list', this.fileList) }, upload(wait) { + typeof wait == 'function' && wait() let count = this.limit - (this.fileList?.length||0) if(count>0){ let params = { @@ -108,7 +109,6 @@ export default { } }, } - typeof wait == 'function' && wait() if (this.type == 'image') { uni.chooseImage(params) } else if (this.type == 'video') {