Explorar o código

nft transfrom

nieyuge %!s(int64=2) %!d(string=hai) anos
pai
achega
995e23864d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/view/popup/tabbar-page/nft/transfer.vue

+ 2 - 2
src/view/popup/tabbar-page/nft/transfer.vue

@@ -78,8 +78,8 @@ const getCurrentyInfo = (data) => {
     }).then(res => {
         let { code, data } = res;
         if (code === 0) {
-            isPayment.value = data?.balance >= feeAmountValue.value
-            showTips.value = data?.balance < feeAmountValue.value
+            isPayment.value = Number(data?.balance) >= Number(feeAmountValue.value)
+            showTips.value = Number(data?.balance) < Number(feeAmountValue.value)
         }
     })
 }