update price show for hanging

This commit is contained in:
CounterFire2023 2024-07-02 14:59:53 +08:00
parent 91ed51c834
commit f5c88d4669
2 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ const getHistoryList = async () => {
sub.event.usd = _data.usd
sub.event.currencyName = _data.currencyName
sub.event.amount = _data.amount
sub.event.decimals = _data.decimals
}
}
nftList.value = res.rows

View File

@ -14,7 +14,7 @@
<a-table-column title="Price" data-index="event">
<template #default="{ text: event }">
<div class="price">
{{ priceCalculated(event.data.buy[0].amount) }}
{{ priceCalculated(event.amount, event.decimals) }}
<div class="price-icon">
<!-- <img src="@/assets/img/marketplace/ETHicon.png" alt=""> -->
<img :src="event.icon" alt="">