修复:ROI页面边缘设备下拉框API路径

This commit is contained in:
2026-03-20 16:27:03 +08:00
parent 7332ff5f1e
commit b0120432a6

View File

@@ -70,7 +70,7 @@ const edgeDevices = ref<Array<{ deviceId: string }>>([]);
async function loadEdgeDevices() {
try {
const list = await wvpRequestClient.get<Array<{ deviceId: string }>>('/api/ai/device/list');
const list = await wvpRequestClient.get<Array<{ deviceId: string }>>('/admin-api/aiot/device/device/list');
edgeDevices.value = (list as any) || [];
} catch {
edgeDevices.value = [{ deviceId: 'edge' }];