Browse Source

排序

feature/x1-web-request
hyh 3 days ago
parent
commit
ebba278b73
  1. 2
      src/X1.WebUI/src/pages/online-protocol-logs/OnlineProtocolLogsView.tsx
  2. 2
      src/X1.WebUI/src/pages/protocol-logs/HistoryProtocolLogsView.tsx

2
src/X1.WebUI/src/pages/online-protocol-logs/OnlineProtocolLogsView.tsx

@ -45,7 +45,7 @@ export default function OnlineProtocolLogsView() {
deviceRuntimeStatus: undefined,
runtimeCodes: [],
runtimeStatuses: [1], // 默认只显示运行中的设备日志
orderByDescending: true,
orderByDescending: false,
});
const { toast } = useToast();

2
src/X1.WebUI/src/pages/protocol-logs/HistoryProtocolLogsView.tsx

@ -44,7 +44,7 @@ export default function HistoryProtocolLogsView() {
deviceRuntimeStatus: undefined,
runtimeCodes: [],
runtimeStatuses: [0,2,3],
orderByDescending: true,
orderByDescending: false,
});
const { toast } = useToast();

Loading…
Cancel
Save