diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.ts b/src/app/view/home/block-detail-list/block-detail-list.component.ts index 849fdae..6347a48 100644 --- a/src/app/view/home/block-detail-list/block-detail-list.component.ts +++ b/src/app/view/home/block-detail-list/block-detail-list.component.ts @@ -100,6 +100,8 @@ export class BlockDetailListComponent implements OnInit { if (res["msg"] == 'ok') { console.log(res.data); this.epicData = res.data; + //console.log(parseFloat(this.epicData.lastPrice).toFixed(3)); + this.epicData.lastPrice = parseFloat(this.epicData.lastPrice).toFixed(3); resolve(); } },