iscs调整

This commit is contained in:
joylink_fanyuhong 2022-01-20 19:07:15 +08:00
parent 4431fe9dd4
commit 38b1beeef5

View File

@ -138,10 +138,12 @@ 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];
if ( children[index]) {
children[index].status = 'default'; children[index].status = 'default';
this.iscsDeviceMap[item.code] = station.code + '-' + index; this.iscsDeviceMap[item.code] = station.code + '-' + index;
this.deviceMap[station.code + '-' + index] = item; this.deviceMap[station.code + '-' + index] = item;
} }
}
}); });
} }
const param = { const param = {