优化Pdf

master
LiuJiaNan 2025-12-22 14:56:49 +08:00
parent 994c8482c3
commit c8744cb8a0
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ function Pdf(props) {
const renderPdfContent = () => ( const renderPdfContent = () => (
<> <>
{loading && ( {loading && (
<div style={{ display: "flex", justifyContent: "center", alignItems: "center", height: "80vh" }}> <div style={{ display: "flex", justifyContent: "center", alignItems: "center", height: "72vh" }}>
<Spin size="large" /> <Spin size="large" />
</div> </div>
)} )}
@ -110,7 +110,7 @@ function Pdf(props) {
> >
关闭 关闭
</Button>, </Button>,
<Button !loading && <Button
key="fullScreen" key="fullScreen"
onClick={() => { onClick={() => {
isFullscreen ? exitFullscreen() : enterFullscreen(); isFullscreen ? exitFullscreen() : enterFullscreen();