处理台站详情弹窗没有有效率的全都显示不了数据的问题
This commit is contained in:
parent
aec35ab1e2
commit
10d31adf6d
|
@ -228,8 +228,8 @@ export default {
|
||||||
|
|
||||||
let params = this.currList.find(item => {
|
let params = this.currList.find(item => {
|
||||||
return item.stationId === result.stationId
|
return item.stationId === result.stationId
|
||||||
})
|
}) || {}
|
||||||
this.currStationInfo = {result,...params}
|
this.currStationInfo = { ...result, ...params }
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user