From 333f9caa5e4c2404ba398e1e3e4a030f0487f0d6 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 17 Jun 2026 22:21:27 +0800 Subject: [PATCH] =?UTF-8?q?chore(web):=20=E7=A7=BB=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20addExtraStyle=20=E7=A9=BA=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit addExtraStyle 仅返回空字符串,无实际作用,一并移除其在深色样式中的调用。 Co-Authored-By: Claude Opus 4.8 (1M context) --- resources/assets/js/functions/web.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/assets/js/functions/web.js b/resources/assets/js/functions/web.js index da6ca3db5..495479c4b 100755 --- a/resources/assets/js/functions/web.js +++ b/resources/assets/js/functions/web.js @@ -1121,14 +1121,6 @@ import {convertLocalResourcePath} from "../components/Replace/utils"; return '-webkit-filter: none !important; filter: none !important;'; }, - addExtraStyle() { - try { - return ''; - } catch (e) { - return ''; - } - }, - addStyle(id, tag, css) { tag = tag || 'style'; let doc = document, styleDom = doc.getElementById(id); @@ -1242,7 +1234,6 @@ import {convertLocalResourcePath} from "../components/Replace/utils"; .page-login { background-color: #f8f8f8; } - ${this.utils.addExtraStyle()} } @media print {