无人机视频组件修改

This commit is contained in:
mmc
2026-05-27 14:30:46 +08:00
parent 6e4baa9bb7
commit 50f7a96751
4 changed files with 131 additions and 62 deletions

View File

@@ -288,18 +288,19 @@ export default function DeviceStatusPage({
<div
style={{
//height: 450,
height: 450,
borderRadius: 8,
overflow: 'hidden',
display: 'flex',
flexWrap: 'wrap', // 允许换行
// flexWrap: 'wrap', // 左右排布不换行
}}
>
{isUAV ? (
<DroneVideoPlayer
device={device}
height={450}
showSourceSelect={true}
dualVideo={true}
showSourceSelect={false}
defaultSource="drone"
/>
) : robotVideo ? (