fix: 在机器人详情卡片中处理未定义状态,增加“未知”状态的显示以提升用户体验
This commit is contained in:
parent
6033553196
commit
358f213eac
@ -147,7 +147,7 @@ const getDoInfo = (information: AmrRedisState['information'] | undefined) => {
|
||||
|
||||
<a-tag v-if="robot.state !== undefined">
|
||||
<i class="dot mr-4" :class="stateDot" />
|
||||
<span>{{ $t(RobotState[robot.state]) }}</span>
|
||||
<span>{{ RobotState[robot.state] || '未知' }}</span>
|
||||
</a-tag>
|
||||
</a-space>
|
||||
</a-col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user