修复刷新测试-1
This commit is contained in:
@@ -428,8 +428,6 @@ function patchAdminWorkOrderCaches(
|
|||||||
patchWorkOrderListEnvelope(current, { ...event, operation }, shouldInsert),
|
patchWorkOrderListEnvelope(current, { ...event, operation }, shouldInsert),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
// 状态聚合会影响分页统计,实时行快照不能单独修正全量统计,因此同步刷新查询。
|
|
||||||
void queryClient.invalidateQueries({ queryKey: ['admin-worker-platform-orders'] })
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function patchAdminTaskCaches(queryClient: ReturnType<typeof useQueryClient>, tasks: unknown[]) {
|
function patchAdminTaskCaches(queryClient: ReturnType<typeof useQueryClient>, tasks: unknown[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user