diff --git a/src/renderer/src/components/CleanerOperationHistoryModal.tsx b/src/renderer/src/components/CleanerOperationHistoryModal.tsx index 4dc557a..87d53ec 100644 --- a/src/renderer/src/components/CleanerOperationHistoryModal.tsx +++ b/src/renderer/src/components/CleanerOperationHistoryModal.tsx @@ -354,7 +354,9 @@ const BatchItem = React.memo(({ batch, isAdmin, onDelete, onRequestDelete, searc
操作用户
-
{batch.username}
+
+ {searchQuery ? highlightText(batch.username, searchQuery) : batch.username} +
状态
@@ -363,7 +365,9 @@ const BatchItem = React.memo(({ batch, isAdmin, onDelete, onRequestDelete, searc - {batchStatusDisplay.label} + {searchQuery + ? highlightText(batchStatusDisplay.label, searchQuery) + : batchStatusDisplay.label}