Issue #166: Done.

This commit is contained in:
chiayin
2023-10-04 16:54:19 +08:00
parent 8a9f6ecd2e
commit a93fca36f5
9 changed files with 26 additions and 31 deletions

View File

@@ -56,7 +56,6 @@
<script>
import cytoscapeMapTrace from '@/module/cytoscapeMapTrace.js';
import AllMapDataStore from '@/stores/allMapData.js';
import numberLabel from '@/module/numberLabel.js';
export default {
props: {
@@ -89,7 +88,7 @@ export default {
return {
id: trace.id,
value: this.progressWidth(Number(((trace.count / sum) * 100).toFixed(1))),
count: numberLabel(trace.count),
count: trace.count.toLocaleString(),
base_count: trace.count,
ratio: this.getPercentLabel(trace.count / sum),
};