From cfefc555652045d779db09b3c42e5d3af1fca02a Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <l287285524@qq.com>
Date: Thu, 04 Aug 2022 17:24:11 +0800
Subject: [PATCH] 111
---
src/components/upload/uploadIdCard.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/upload/uploadIdCard.vue b/src/components/upload/uploadIdCard.vue
index 0c0dcaf..e39aaf8 100644
--- a/src/components/upload/uploadIdCard.vue
+++ b/src/components/upload/uploadIdCard.vue
@@ -315,11 +315,11 @@
handleMenuSelect(item, index) {
console.log(this.$refs.androidInputFileCapture.click(),index);
if (index === 0) {
- this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
- // this.$refs.androidInputFileCapture.select();
+ // this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
+ this.$refs.androidInputFileCapture.touch();
} else {
- this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
- // this.$refs.androidInputFileImage.select();
+ // this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
+ this.$refs.androidInputFileImage.touch();
}
this.selectModel = false;
},
--
Gitblit v1.8.0