diff --git a/src/components/assets/myCard.vue b/src/components/assets/myCard.vue
index f87bd3f..df827ee 100644
--- a/src/components/assets/myCard.vue
+++ b/src/components/assets/myCard.vue
@@ -18,7 +18,7 @@
{{ nftPrice }}
-
+
@@ -159,14 +159,16 @@ const lockToGameConfirm = async () => {
// 获取出售中价格价格
-const nftPrice = ref()
+const nftPrice = ref('-')
+const icon = ref('')
const cardPrice = async (val) => {
let nftData = await getNftData(toRaw(val))
- if(nftData.event) {
- nftPrice.value = priceCalculated(nftData.event.data.buy[0].amount)
- } else {
- return false
+ if (nftData?.event?.data) {
+ const data = formatPrice(nftData?.event?.data)
+ icon.value = data.icon
+ nftPrice.value = data.tokenAmount
}
+
}