@@ -229,19 +229,8 @@ const Scada = () => {
onClick={() => UnityAction.sendMsg('menuItem', '工艺监控')}
>
<div className={styles.scadaContent}>
- <iframe
- style={{
- width: '100%',
- height: '100%',
- border: 'none',
- pointerEvents: 'none',
- }}
- src={src1}
- />
-
+ <iframe src={src1} />
+ <iframe src={src2} />
</div>
</Box>
);
@@ -59,7 +59,7 @@
justify-content: space-between;
iframe {
height: 100%;
- width: 100%;
+ width: calc(50% - 10px);
border: none;
pointer-events: none;
}