Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
3919f29b18
  1. 2
      api/app/lib/controllers/monitor/index.js

2
api/app/lib/controllers/monitor/index.js

@ -148,7 +148,7 @@ async function getMonitorData(ctx) {
factors = item.ItemNames.split(',') factors = item.ItemNames.split(',')
factorNames = item.Items.split(',') factorNames = item.Items.split(',')
factors.map((child,index)=> { factors.map((child,index)=> {
items[factorNames[index]] = { name: child, unit: item.ItemUnits } items[factorNames[index]] = { name: child, unit:factorNames[index] }
}) })
}) })
} }

Loading…
Cancel
Save