const modalStyles = {
content: {
height:'500px'
},
};
<Modal
title="查看监控"
open={modal1Open}
onCancel={() => setModal1Open(false)}
footer={null}
styles={modalStyles}
>
<WebRTCPlayer rtspUrls={data} />
</Modal>
const modalStyles = {
header: {
borderRadius: 0,
paddingInlineStart: 5,
},
body: {
boxShadow: 'inset 0 0 5px #999',
borderRadius: 5,
},
mask: {
backdropFilter: 'blur(10px)',
},
footer: {
borderTop: '1px solid #333',
},
content: {
boxShadow: '0 0 30px #999',
},
};