代码调整

This commit is contained in:
joylink_cuiweidong 2020-05-14 19:42:49 +08:00
parent bd730d5946
commit fab4e149c8

View File

@ -99,7 +99,7 @@ export default {
lastData.forEach(each=>{
const name = each.name == undefined ? '' : '-' + each.name;
const deviceName = each.deviceName == undefined ? '' : '-' + each.deviceName;
each.name = each.role + name + deviceName;
each.name = each.role + deviceName + name;
});
return lastData;
},