perf: optimize header width expand setting
This commit is contained in:
parent
68838af9d0
commit
9c9fe91c1a
|
@ -127,7 +127,7 @@ KEEP.initUtils = () => {
|
||||||
|
|
||||||
let isExpand = false;
|
let isExpand = false;
|
||||||
|
|
||||||
if (KEEP.theme_config.style.first_screen.enable === true) {
|
if (KEEP.theme_config.style.first_screen.enable === true && window.location.pathname === '/') {
|
||||||
headerMaxWidth = parseInt(defaultMaxWidth) * 1.2 + 'px';
|
headerMaxWidth = parseInt(defaultMaxWidth) * 1.2 + 'px';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue