wenlele 1 year ago
parent
commit
7f01abb414
  1. 3
      web/client/src/sections/firmwareUpgrade/containers/deviceManagement.jsx

3
web/client/src/sections/firmwareUpgrade/containers/deviceManagement.jsx

@ -50,6 +50,8 @@ const DeviceManagement = (props) => {
})
},[pepProjectId])
useEffect(()=>{
setData([])
setId(null)
if(thingIds&&thingIds.length){
const data={thingIds:thingIds.split(',')[0]||'000'}//
setId(thingIds.split(',')[0])
@ -242,7 +244,6 @@ const DeviceManagement = (props) => {
function mapStateToProps (state) {
const { auth, global, getPush } = state;
console.log(222, global);
return {
loading: getPush.isRequesting,
user: auth.user,

Loading…
Cancel
Save