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

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

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index af1e1bc..aa1cf31 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,10 @@
       this.intTime = setInterval(function () {
         if (!that.haveCardid) {
           //定时读卡
+          console.log(that.haveCardid);
           let result = CertCtl.readCert();
+          // console.log(result);
+          console.log("通过读取");
           if (result == "") {
             console.log("未启动读卡插件!");
             that.closeSFZ();
@@ -2155,7 +2160,7 @@
               } else {
                 // console.log(resultObj.errorMsg);
                 //无卡片提醒
-                that.closeSFZ();
+                // that.closeSFZ();
               }
             } else if (resultObj.resultFlag == "-2") {
               console.log(resultObj.errorMsg);

--
Gitblit v1.9.3