地图资源 全部换成 npm的资源 加快了加载速度 ,地图加了一个定位到机器的按钮,手动定位到机器 ,实时显示工作中空闲状态 机器加入显示设备类型 机器人任务界面 保存定时任务 bug修复

This commit is contained in:
mmc
2026-10-29 16:39:25 +08:00
parent 91c01e249f
commit 04f74277bf
9 changed files with 392 additions and 568 deletions

View File

@@ -162,6 +162,14 @@ export default class DeviceController {
if (msg?.type == 'device_status_changed') {
this.deviceStatusChangedMsg?.(msg);
}
if (msg?.type == 'route_post') {
console.log('route_post');
this.onRoutePost?.(msg);
}
};
ws.onerror = () => {
@@ -508,7 +516,7 @@ export default class DeviceController {
break;
case 'route_post':
console.log('route post:', msg);
console.log('route_post:', msg);
if (msg.deviceId) {
this.onRoutePost?.(msg);
}