iscs调整
This commit is contained in:
parent
4431fe9dd4
commit
38b1beeef5
@ -138,9 +138,11 @@ export default {
|
|||||||
resp.data && resp.data.forEach(item => {
|
resp.data && resp.data.forEach(item => {
|
||||||
if (station.code == item.station) {
|
if (station.code == item.station) {
|
||||||
const index = positionMap[item.position];
|
const index = positionMap[item.position];
|
||||||
children[index].status = 'default';
|
if ( children[index]) {
|
||||||
this.iscsDeviceMap[item.code] = station.code + '-' + index;
|
children[index].status = 'default';
|
||||||
this.deviceMap[station.code + '-' + index] = item;
|
this.iscsDeviceMap[item.code] = station.code + '-' + index;
|
||||||
|
this.deviceMap[station.code + '-' + index] = item;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user