12345678 |
-
-
-
- const height = document.documentElement.clientHeight || document.body.clientHeight;
-
- export function getPageStyle(fitHeight) {
- return fitHeight > height ? { height: `${fitHeight}px`, overflow: 'hidden' } : { height: `${height}px`, overflow: 'hidden' }
- }
|