Commit 532ad0363c1f33e582edcf5b1c29b6192e18671d
1 parent
996f3702
fix:DEFECT-829 设备id应该与TBdeviceid进行比对
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -186,7 +186,7 @@ export const getGATEWAYdevice = async (params: { organization: string }) => { | @@ -186,7 +186,7 @@ export const getGATEWAYdevice = async (params: { organization: string }) => { | ||
186 | params, | 186 | params, |
187 | }); | 187 | }); |
188 | return Promise.resolve<{ label: string; value: string }[]>( | 188 | return Promise.resolve<{ label: string; value: string }[]>( |
189 | - res.map((item) => ({ label: item.name, value: item.tbDeviceId })) | 189 | + res.map((item) => ({ label: item.name, value: item.id })) |
190 | ); | 190 | ); |
191 | }; | 191 | }; |
192 | 192 |