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 | 2 +-
src/views/user/login.vue | 32 ++++++++++++++++----------------
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/components/upload/uploadIdCard.vue b/src/components/upload/uploadIdCard.vue
index e39aaf8..7c3ba37 100644
--- a/src/components/upload/uploadIdCard.vue
+++ b/src/components/upload/uploadIdCard.vue
@@ -316,7 +316,7 @@
console.log(this.$refs.androidInputFileCapture.click(),index);
if (index === 0) {
// this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
- this.$refs.androidInputFileCapture.touch();
+ this.$refs.androidInputFileCapture.ontouch();
} else {
// this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
this.$refs.androidInputFileImage.touch();
diff --git a/src/views/user/login.vue b/src/views/user/login.vue
index 52379a0..5b807de 100644
--- a/src/views/user/login.vue
+++ b/src/views/user/login.vue
@@ -114,24 +114,24 @@
// }
},
created() {
- this.$api.createInitIdInfo().then(res => {
- this.idCardMation = res.body;
- if (this.idCardMation.usrIdName) {
- this.readOnlyName = true;
- }
- if (this.idCardMation.usrIdCard) {
- this.readOnlyId = true;
- }
- if (this.idCardMation.sex) {
- this.readOnlySex = true;
- }
- });
+ // this.$api.createInitIdInfo().then(res => {
+ // this.idCardMation = res.body;
+ // if (this.idCardMation.usrIdName) {
+ // this.readOnlyName = true;
+ // }
+ // if (this.idCardMation.usrIdCard) {
+ // this.readOnlyId = true;
+ // }
+ // if (this.idCardMation.sex) {
+ // this.readOnlySex = true;
+ // }
+ // });
},
beforeUpdate(){
- let _this = this
- Bus.$on('getIdUserInfo',(msg)=>{
- _this.idCardMation = msg
- })
+ // let _this = this
+ // Bus.$on('getIdUserInfo',(msg)=>{
+ // _this.idCardMation = msg
+ // })
},
methods: {
//设置时间
--
Gitblit v1.8.0