This commit is contained in:
katherinehhh 2025-03-20 23:15:18 +08:00
parent cbd002c388
commit 1ff66f5851

View File

@ -69,7 +69,6 @@ const usePageFullScreenHeight = (props?) => {
token, token,
location.pathname, location.pathname,
); );
console.log(pageHeaderHeight);
return navHeight + pageHeaderHeight + addBlockBtnHeight; return navHeight + pageHeaderHeight + addBlockBtnHeight;
}; };
@ -149,7 +148,6 @@ export const useDataBlockHeight = (options?: UseDataBlockHeightOptions) => {
} }
if (heightMode === HeightMode.FULL_HEIGHT) { if (heightMode === HeightMode.FULL_HEIGHT) {
let res = window.innerHeight - pageFullScreenHeight; let res = window.innerHeight - pageFullScreenHeight;
console.log(res, pageFullScreenHeight);
if (options?.removeBlockHeaderHeight) { if (options?.removeBlockHeaderHeight) {
res = res - blockHeaderHeight; res = res - blockHeaderHeight;
} }