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/zshare/normalTable/index.jsx |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/zshare/normalTable/index.jsx b/src/tabviews/zshare/normalTable/index.jsx
index 339d1f3..af5f86d 100644
--- a/src/tabviews/zshare/normalTable/index.jsx
+++ b/src/tabviews/zshare/normalTable/index.jsx
@@ -699,6 +699,10 @@
         _href += '?' + _param
       }
 
+      if (_href && /^https/.test(window.location.protocol)) { // https杞崲
+        _href = _href.replace(/^http:/ig, 'https:')
+      }
+
       if (item.blur) {
         content = md5(content)
       }
@@ -884,6 +888,10 @@
             _href += '?' + _param
           }
 
+          if (_href && /^https/.test(window.location.protocol)) { // https杞崲
+            _href = _href.replace(/^http:/ig, 'https:')
+          }
+
           if (item.blur) {
             content = md5(content)
           }

--
Gitblit v1.8.0