chore(web): 移除无用的 addExtraStyle 空方法

addExtraStyle 仅返回空字符串,无实际作用,一并移除其在深色样式中的调用。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
kuaifan 2026-06-17 22:21:27 +08:00
parent 135b419572
commit 333f9caa5e

View File

@ -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 {