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