From aea36d8e4f3442769647de5cdf5134ec06376a9f Mon Sep 17 00:00:00 2001 From: zdh Date: Thu, 14 May 2026 18:58:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=BB=E9=A2=98=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=82=B9=E5=87=BB=E6=97=A0=E5=8F=8D=E5=BA=94=EF=BC=9A?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0click=E4=BA=8B=E4=BB=B6=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 099cf89..243e4be 100644 --- a/index.html +++ b/index.html @@ -319,6 +319,9 @@ else { setTheme('light'); } document.getElementById('drawerThemeBtn').addEventListener('click', function() { setTheme(htmlEl.getAttribute('data-theme') === 'dark' ? 'light' : 'dark'); }); +document.getElementById('themeBtn').addEventListener('click', function() { + setTheme(htmlEl.getAttribute('data-theme') === 'dark' ? 'light' : 'dark'); +}); const wikiData = [ { dir: "身份认证与安全", icon: "🔐", desc: "统一身份认证、IAM 选型、零信任安全", color: "pink",