opt:优化
This commit is contained in:
@@ -169,6 +169,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
updateAgvData(agvDataList) {
|
updateAgvData(agvDataList) {
|
||||||
|
this.agvList = agvDataList
|
||||||
// 更新AGV数据
|
// 更新AGV数据
|
||||||
agvDataList.forEach(data => {
|
agvDataList.forEach(data => {
|
||||||
const agvIndex = this.agvList.findIndex(agv => agv.vehicle_code === data.vehicle_code)
|
const agvIndex = this.agvList.findIndex(agv => agv.vehicle_code === data.vehicle_code)
|
||||||
|
|||||||
Reference in New Issue
Block a user