diff --git a/src/api/inspection/robot.js b/src/api/inspection/robot.js index cde224d..a0a2e21 100644 --- a/src/api/inspection/robot.js +++ b/src/api/inspection/robot.js @@ -31,6 +31,13 @@ export function deleteRobot(id) { }) } +export function getRobotDevices(id) { + return request({ + url: `/inspection/robot/${id}/devices`, + method: 'get' + }) +} + /** * 获取机器人地图 * @param {*} robotId diff --git a/src/views/flow/components/TestRun.vue b/src/views/flow/components/TestRun.vue index 2edc223..51b70d7 100644 --- a/src/views/flow/components/TestRun.vue +++ b/src/views/flow/components/TestRun.vue @@ -30,7 +30,7 @@