Browse Source

Merge branch 'dev_1.1.7.1' of https://git.yishihui.com/DeNet/de-net into dev_1.1.7.1

zhangwei 2 years ago
parent
commit
71f0126bd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/view/iframe/publish/give-dialog.vue

+ 1 - 1
src/view/iframe/publish/give-dialog.vue

@@ -1492,7 +1492,7 @@ const calcFansUnitAmount = () => {
         unitAmount = calcToken2UsdEstimate({amount: unitAmount, usdPrice: currentCurrencyInfo.value.usdPrice });
     }
 
-    return unitAmount;
+    return Math.floor(unitAmount * 1000) / 1000;
 };
 
 const setUpGainAmountUsdValue = (params) => {