From a4686327a070f1aa49d18104bbabb051e06f245b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 25 Nov 2021 11:17:37 +0800
Subject: [PATCH] +性别

---
 src/views/securityGuard/securityGuard.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 3e3a5f8..b7f89bc 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -2125,8 +2125,7 @@
               that.form.cardid = data.certNumber;
               that.form.nation = data.nation;
               that.form.registered = data.certAddress;
-              that.form.sex =
-                data.certType == 0 ? 2 : data.certType == 1 ? 1 : 3;
+              that.form.sex = data.gender == 0 ? 2 : data.gender == 1 ? 1 : 3;
               //禁止编辑
               that.openClosegroup(true);
               that.nowCell = "2";

--
Gitblit v1.9.3