From d063f9f7e8a8150a32b8af619d38929024e2bf24 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <l287285524@qq.com> Date: Thu, 04 Aug 2022 17:29:21 +0800 Subject: [PATCH] 11 --- 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..7c3ba37 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.ontouch(); } 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