前端增加数据过滤条件

This commit is contained in:
任珮宇 2023-10-28 12:02:06 +08:00
parent d439734ebd
commit fac40cb2dc

View File

@ -281,6 +281,7 @@ export default {
this.$message.success({ content: 'Loaded!', key, duration: 2 })
}
res.result.forEach((item) => {
if (object.prototype.toString.call(item) == '[object Object]') {
arr.forEach((el) => {
if (
parseInt(item.id) == el.stationId &&
@ -291,6 +292,7 @@ export default {
item.stationId = el.stationId
}
})
}
})
this.orgStationList = res.result
let arrA = []