处理台站详情弹窗没有有效率的全都显示不了数据的问题

This commit is contained in:
renpy 2023-09-01 17:35:52 +08:00
parent aec35ab1e2
commit 10d31adf6d

View File

@ -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)
} }