|
|
@ -50,7 +50,7 @@ const DeviceManagement = (props) => { |
|
|
|
},[]) |
|
|
|
useEffect(()=>{ |
|
|
|
if(thingIds&&thingIds.length){ |
|
|
|
const data={thingIds:thingIds.split(',')[0]||'000'} |
|
|
|
const data={thingIds:thingIds.split(',')[0]||'000'}//给一个初始化的值 |
|
|
|
getData(data) |
|
|
|
} |
|
|
|
console.log('thingIds',thingIds) |
|
|
|