1
This commit is contained in:
@@ -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 || {}
|
||||
};
|
||||
}
|
||||
// 如果有当前执行的任务,显示任务状态
|
||||
|
||||
Reference in New Issue
Block a user