修复:ROI页面边缘设备列表API路径去掉多余前缀

This commit is contained in:
2026-03-20 21:45:20 +08:00
parent b0120432a6
commit aa76e3cba9

View File

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