fix: 设备管理页填充 SelectedDevices 供模板使用

This commit is contained in:
tian 2026-07-24 11:47:08 +08:00
parent 2e5220d826
commit 17a0c35a1d
2 changed files with 1 additions and 0 deletions

View File

@ -5099,6 +5099,7 @@ func (u *UI) deviceOverviewPageData(r *http.Request, selectedIDs []string, errMs
FailedTaskCount: failedTasks,
FoundCount: attention,
SelectedDeviceIDs: selectedIDs,
SelectedDevices: selectedDevicesFromIDs(devices, selectedIDs),
SelectedQuery: selectedQueryString(selectedIDs),
SelectedDevicesURL: selectedURL("/devices", selectedIDs),
BatchConfigURL: selectedURL("/devices/batch-config", selectedIDs),

Binary file not shown.