Commit 532ad0363c1f33e582edcf5b1c29b6192e18671d

Authored by fengtao
1 parent 996f3702

fix:DEFECT-829 设备id应该与TBdeviceid进行比对

... ... @@ -186,7 +186,7 @@ export const getGATEWAYdevice = async (params: { organization: string }) => {
186 186 params,
187 187 });
188 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
... ...