From 223229d8999b1be5541ff4e91a3e6d3dda16e4c0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 14 十二月 2021 15:49:24 +0800
Subject: [PATCH] 2021-12-14

---
 src/tabviews/custom/components/share/normalTable/index.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/components/share/normalTable/index.jsx b/src/tabviews/custom/components/share/normalTable/index.jsx
index cadff9e..b27e7bb 100644
--- a/src/tabviews/custom/components/share/normalTable/index.jsx
+++ b/src/tabviews/custom/components/share/normalTable/index.jsx
@@ -346,6 +346,10 @@
         content = md5(content)
       }
 
+      if (_href && /^https/.test(window.location.protocol)) { // https杞崲
+        _href = _href.replace(/^http:/ig, 'https:')
+      }
+
       resProps.children = (
         <div>
           {content && _href ? <a href={_href} target="_blank" rel="noopener noreferrer">{content}</a> : null }

--
Gitblit v1.8.0