无人机视频组件修改
This commit is contained in:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user