字段调整

This commit is contained in:
任珮宇 2023-10-28 13:41:14 +08:00
parent fac40cb2dc
commit aa5b97509d

View File

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