Commit 7591542b authored by 潘栩锋's avatar 潘栩锋 🚴

修复 当称重历史数据有5层,但当前设置为3层时,流量图会出错。

parent 5f334fa5
......@@ -373,7 +373,7 @@ namespace FLY.Weight.UI.Client.UiModule
Lc_Flow flows = Values.Last();
for (int i = 0; i < flows.Items.Count(); i++)
for (int i = 0; i < Items.Count() && i<flows.Items.Count(); i++)
{
Items[i].Value = flows.Items[i].Flow;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment