feat: 试运行只能选中在线的机器人
This commit is contained in:
parent
4bca7389f7
commit
dddddbbe3d
@ -155,7 +155,7 @@ const remember = () => {
|
|||||||
const loadRobotOptions = async () => {
|
const loadRobotOptions = async () => {
|
||||||
robotLoading.value = true
|
robotLoading.value = true
|
||||||
try {
|
try {
|
||||||
const response = await getRobotList({ pageNum: 1, pageSize: 1000 })
|
const response = await getRobotList({ pageNum: 1, pageSize: 1000, connectStatus: 1 })
|
||||||
robotOptions.value = (response.rows || []).map((robot) => ({
|
robotOptions.value = (response.rows || []).map((robot) => ({
|
||||||
label: `${robot.robotName || robot.robotId} (${robot.robotId})`,
|
label: `${robot.robotName || robot.robotId} (${robot.robotId})`,
|
||||||
value: robot.robotId,
|
value: robot.robotId,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user