'admin-21.01.06:修复开启水印时,出现滚动条的bug'
This commit is contained in:
parent
ae10204281
commit
7c5f5b4361
@ -21,6 +21,7 @@ body,
|
|||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 主布局样式
|
/* 主布局样式
|
||||||
|
@ -375,7 +375,9 @@ export default defineComponent({
|
|||||||
attr === "grayscale"
|
attr === "grayscale"
|
||||||
? `grayscale(${getThemeConfig.value.isGrayscale ? 1 : 0})`
|
? `grayscale(${getThemeConfig.value.isGrayscale ? 1 : 0})`
|
||||||
: `invert(${getThemeConfig.value.isInvert ? "80%" : "0%"})`;
|
: `invert(${getThemeConfig.value.isInvert ? "80%" : "0%"})`;
|
||||||
document.body.setAttribute("style", `filter: ${cssAttr}`);
|
document
|
||||||
|
.getElementById("app")
|
||||||
|
.setAttribute("style", `filter: ${cssAttr}`);
|
||||||
};
|
};
|
||||||
const onWartermarkChange = () => {
|
const onWartermarkChange = () => {
|
||||||
getThemeConfig.value.isWartermark
|
getThemeConfig.value.isWartermark
|
||||||
|
Loading…
Reference in New Issue
Block a user