This commit is contained in:
张成
2025-12-18 13:30:14 +08:00
parent fa53977cd2
commit ce92acf5ea
2 changed files with 20 additions and 6 deletions

View File

@@ -89,8 +89,9 @@ class DeviceWorkStatusNotifier {
description: this._formatCommandDescription(cmd),
status: 'running',
progress: cmd.progress || 0,
currentStep: cmd.currentStep || cmd.current_step || '',
startTime: cmd.startTime || cmd.start_time || new Date().toISOString()
startTime: cmd.startTime || cmd.start_time || new Date().toISOString(),
commandType: cmd.command_type || cmd.type || '',
commandParams: cmd.command_params || cmd.params || {}
};
}
// 如果有当前执行的任务,显示任务状态