机器人任务模块 完善 等待测试 路径规划 执行取消恢复任务等

This commit is contained in:
mmc
2026-06-03 15:35:33 +08:00
parent 95758e7a39
commit bb130f3525
2 changed files with 65 additions and 52 deletions

View File

@@ -651,7 +651,7 @@ export default function DeviceOverviewPage({ onViewStatus, selectedSn, onDeviceS
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: 4 }}>
<div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
<span style={{ color: '#52c41a' }}><ThunderboltOutlined /></span>
<span style={{ fontSize: 12 }}>电量 {fix2(realtimeDevice?.capacity_percent || 100)}%</span>
<span style={{ fontSize: 12 }}>电量 {fix2(realtimeDevice?.capacity_percent || realtimeDevice?.lastRunningStatus?.battery || 100)}%</span>
</div>
{realtimeDevice?.environment_temperature && (
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>