From a0c6b235ccc344dd36594973f1e69f052f4aa7f4 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <l287285524@qq.com> Date: Thu, 04 Aug 2022 17:36:36 +0800 Subject: [PATCH] 1 --- 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 7c3ba37..9725c42 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.ontouch(); + this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click')) + // this.$refs.androidInputFileCapture.ontouch(); } else { - // this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click')) - this.$refs.androidInputFileImage.touch(); + this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click')) + // this.$refs.androidInputFileImage.touch(); } this.selectModel = false; }, -- Gitblit v1.8.0