mirror of
https://github.com/kuaifan/dootask.git
synced 2026-09-10 22:19:02 +00:00
chore(web): 移除无用的 addExtraStyle 空方法
addExtraStyle 仅返回空字符串,无实际作用,一并移除其在深色样式中的调用。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
135b419572
commit
333f9caa5e
9
resources/assets/js/functions/web.js
vendored
9
resources/assets/js/functions/web.js
vendored
@ -1121,14 +1121,6 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
|||||||
return '-webkit-filter: none !important; filter: none !important;';
|
return '-webkit-filter: none !important; filter: none !important;';
|
||||||
},
|
},
|
||||||
|
|
||||||
addExtraStyle() {
|
|
||||||
try {
|
|
||||||
return '';
|
|
||||||
} catch (e) {
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
addStyle(id, tag, css) {
|
addStyle(id, tag, css) {
|
||||||
tag = tag || 'style';
|
tag = tag || 'style';
|
||||||
let doc = document, styleDom = doc.getElementById(id);
|
let doc = document, styleDom = doc.getElementById(id);
|
||||||
@ -1242,7 +1234,6 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
|||||||
.page-login {
|
.page-login {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
${this.utils.addExtraStyle()}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user