1.12 iframe高度修改为500
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user