Commit a078fae623d7dca070de7a4f57d974c8671c069b

Authored by xp.Huang
2 parents 62712a05 5f75d154

Merge branch 'perf/dashboard-statistics' into 'main_dev'

fix: 修复首页统计消息计算错误

See merge request yunteng/thingskit-front!684
... ... @@ -34,7 +34,7 @@
34 34 if (!props.value?.withUnit) return record;
35 35
36 36 if (value > 10 ** 6) return { unit: 'M', value: value / 10 ** 6 };
37   - if (value > 10 ** 3) return { unit: 'K', value: value / 10 ** 4 };
  37 + if (value > 10 ** 3) return { unit: 'K', value: value / 10 ** 3 };
38 38
39 39 return record;
40 40 };
... ...