修复路径规划任务的取消接口的入参的结构去掉deviceid,测试通过。

This commit is contained in:
2026-09-10 08:58:04 +08:00
parent d76bcdcdf2
commit b4bedd9737
2 changed files with 2 additions and 3 deletions

View File

@@ -450,7 +450,7 @@ class DevicesCubit extends Cubit<DevicesState> {
state.copyWith(
isLoading: false,
workRecords: state.workRecords
?.where((record) => record != workName)
?.where((record) => record['workName'] != workName)
.toList(),
),
),