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, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/upload/uploadIdCard.vue b/src/components/upload/uploadIdCard.vue
index 94d20a4..e39aaf8 100644
--- a/src/components/upload/uploadIdCard.vue
+++ b/src/components/upload/uploadIdCard.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2019-08-30 18:04:49
* @LastEditors: zxq
- * @LastEditTime: 2022-08-04 15:59:33
+ * @LastEditTime: 2022-08-04 16:08:29
* @Description:
-->
<template>
@@ -315,9 +315,11 @@
handleMenuSelect(item, index) {
console.log(this.$refs.androidInputFileCapture.click(),index);
if (index === 0) {
- this.$refs.androidInputFileCapture.select();
+ // this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
+ this.$refs.androidInputFileCapture.touch();
} else {
- this.$refs.androidInputFileImage.select();
+ // this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
+ this.$refs.androidInputFileImage.touch();
}
this.selectModel = false;
},
--
Gitblit v1.8.0