路由懒加载 还要取消暂停路径规划接口 接入
This commit is contained in:
@@ -62,7 +62,7 @@ export default function RobotTaskPage() {
|
||||
const controller = new DeviceController(userInfo, messageApi);
|
||||
controllerRef.current = controller;
|
||||
return () => {
|
||||
controllerRef.current.destroy();
|
||||
controllerRef.current?.destroy();
|
||||
controllerRef.current = null;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user