修改界面

似乎这里引入了一个逻辑判断错误,会导致打包之后的界面变宽变高。
This commit is contained in:
Kong Gaowen
2023-10-09 18:50:10 +08:00
committed by GitHub
parent 4c8d606fae
commit bdb49b1171

View File

@@ -129,7 +129,7 @@ function Screen() {
const isAuth = location.pathname === Path.Auth;
const isMobileScreen = useMobileScreen();
const shouldTightBorder =
config.tightBorder && !isMobileScreen && !getClientConfig()?.isApp;
config.tightBorder && !isMobileScreen && getClientConfig()?.isApp;
useEffect(() => {
loadAsyncGoogleFont();