[优化] 增加 noop apply 报告逻辑,确保在配置未变更时记录应用日志

This commit is contained in:
ryan
2026-05-30 10:27:10 +08:00
parent 4e339caa9a
commit 5d7a4469ea
4 changed files with 148 additions and 2 deletions
@@ -86,6 +86,18 @@ export function ApplyLogsPage() {
const [customRetentionDays, setCustomRetentionDays] = useState('30');
const [feedback, setFeedback] = useState<FeedbackState | null>(null);
useEffect(() => {
const nodeID = new URLSearchParams(window.location.search)
.get('node_id')
?.trim();
if (!nodeID) {
return;
}
setNodeFilterInput(nodeID);
setNodeFilter(nodeID);
setPageNo(1);
}, []);
const logsQuery = useQuery({
queryKey: applyLogsQueryKey(nodeFilter, pageNo, pageSize),
queryFn: () =>