优化一些 周六的内容

This commit is contained in:
mmc
2026-09-14 09:12:40 +08:00
parent 65aa966606
commit e4dffc7ff9
7 changed files with 33 additions and 31 deletions

View File

@@ -1235,18 +1235,9 @@ export default function DeviceStatusPage() {
)
) : mowerView === 'front' ? (
<div style={{ position: 'relative', width: '100%', height: '100%' }}>
{device?.hasHost ? (
<AgrtcRoomRobot CHANNEL={device?.serialNumber || ''} />
) : (
<VideoPlayer
deviceId={device?.serialNumber}
idx={1}
className="w-full h-full object-contain"
video={robotVideo}
error={error}
ready={ready}
/>
)}
{/*<AgrtcRoomRobot CHANNEL={device?.serialNumber || ''} />*/}
<AgrtcRoomRobot CHANNEL={"41-thermal"} />
</div>
) : (
<div style={{ position: 'relative', width: '100%', height: '100%' }}>