diff --git a/web/client/src/sections/firmwareUpgrade/containers/deviceManagement.jsx b/web/client/src/sections/firmwareUpgrade/containers/deviceManagement.jsx index 21a8e6a..f51487b 100644 --- a/web/client/src/sections/firmwareUpgrade/containers/deviceManagement.jsx +++ b/web/client/src/sections/firmwareUpgrade/containers/deviceManagement.jsx @@ -50,10 +50,10 @@ const DeviceManagement = (props) => { },[]) useEffect(()=>{ if(thingIds&&thingIds.length){ - const data={thingIds} + const data={thingIds:thingIds.split(',')[0]||'000'} getData(data) } - + console.log('thingIds',thingIds) },[thingIds]) const structChange =value => {