代码调整
This commit is contained in:
parent
bd730d5946
commit
fab4e149c8
@ -99,7 +99,7 @@ export default {
|
|||||||
lastData.forEach(each=>{
|
lastData.forEach(each=>{
|
||||||
const name = each.name == undefined ? '' : '-' + each.name;
|
const name = each.name == undefined ? '' : '-' + each.name;
|
||||||
const deviceName = each.deviceName == undefined ? '' : '-' + each.deviceName;
|
const deviceName = each.deviceName == undefined ? '' : '-' + each.deviceName;
|
||||||
each.name = each.role + name + deviceName;
|
each.name = each.role + deviceName + name;
|
||||||
});
|
});
|
||||||
return lastData;
|
return lastData;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user