From e89f28106ec9ca9019d9f668b24f0fd92a8d025f Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 23 Nov 2021 09:20:52 +0800
Subject: [PATCH] +

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

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index af1e1bc..c719984 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -2051,7 +2051,9 @@
           console.log("ok!");
         }
       } catch (e) {
-        that.haveSEL = false;
+        // that.haveSEL = false;
+        that.haveSEL = true;
+        // console.log(e, 123);
         return;
       }
       let result = CertCtl.readCert();
@@ -2086,7 +2088,9 @@
       this.intTime = setInterval(function () {
         if (!that.haveCardid) {
           //定时读卡
+          console.log(that.haveCardid);
           let result = CertCtl.readCert();
+          // console.log(result);
           if (result == "") {
             console.log("未启动读卡插件!");
             that.closeSFZ();
@@ -2155,7 +2159,7 @@
               } else {
                 // console.log(resultObj.errorMsg);
                 //无卡片提醒
-                that.closeSFZ();
+                // that.closeSFZ();
               }
             } else if (resultObj.resultFlag == "-2") {
               console.log(resultObj.errorMsg);

--
Gitblit v1.9.3