前端增加数据过滤条件
This commit is contained in:
parent
d439734ebd
commit
fac40cb2dc
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user