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/views/user/login.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

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