优化Pdf
parent
994c8482c3
commit
c8744cb8a0
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue