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