1.12 iframe高度修改为500

This commit is contained in:
jl-zhoujl2
2023-01-12 21:48:53 +08:00
parent 8f11424687
commit c746926608

View File

@ -12,7 +12,7 @@ interface ApprovalModalProps {
const ApprovalModal: React.FC<ApprovalModalProps> = (props) => {
const { modalVisible, onCancel, url } = props;
const iframeContent = useMemo(() => {
return url != "" && <iframe width={"100%"} height={600} src={url} />
return url != "" && <iframe width={"100%"} height={500} src={url} />
}, [url]);
return (
<Modal