fix: 将机器人状态枚举中的“未知”状态值从 -1 修改为 0,以确保状态值的有效性和一致性

This commit is contained in:
xudan 2025-10-13 09:45:05 +08:00
parent 358f213eac
commit f14e3a68ad

View File

@ -16,7 +16,7 @@ export enum RobotType {
export const ROBOT_TYPE_OPTIONS = <Array<[string, RobotType]>>Object.entries(RobotType).filter(([, v]) => isNumber(v));
export enum RobotState {
= -1,
= 0,
= 1,
,
,