From 441b33dabe3cc9079634783c7f48cc5314ad65ba Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Fri, 05 Aug 2022 14:09:51 +0800
Subject: [PATCH] 命名
---
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 c624e71..04d543a 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:18:51
+ * @LastEditTime: 2022-08-05 14:09:34
* @Description:
-->
<template>
@@ -23,7 +23,7 @@
<input
style="display: none;cursor:pointer"
type="file"
- id='androidInputFileImage'
+ id='inputFileImage'
ref="androidInputFileImage"
@change="handlePhotoChange($event,1)"
accept="image/jpg, image/jpeg, image/png"
@@ -31,7 +31,7 @@
<input
style="display: none;cursor:pointer;"
type="file"
- id='androidInputFileCapture'
+ id='inputFileCapture'
ref="androidInputFileCapture"
@change="handlePhotoChange($event,2)"
accept="image/*"
@@ -313,7 +313,7 @@
},
// 选择拍照或者相册选项
handleMenuSelect(item, index) {
- console.log(this.$refs)
+ console.log( this.$refs.androidInputFileCapture )
if (index === 0) {
this.$refs.androidInputFileCapture.click();
} else {
--
Gitblit v1.8.0