修复:ROI页面边缘设备列表API路径去掉多余前缀
This commit is contained in:
@@ -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' }];
|
||||
|
||||
Reference in New Issue
Block a user