PPPPPPP 4 minggu lalu
induk
melakukan
3442e8b884
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      src/widgets/WWithdraw/BR/BRWithdraw.jsx

+ 4 - 3
src/widgets/WWithdraw/BR/BRWithdraw.jsx

@@ -97,10 +97,11 @@ const BRWithdraw=()=>{
         if (lnum<=0){
             return;
         }
-        let num=Number(wdValue);
-        if (num>0){
+        // 后端 score 用最小单位(分),需要 *CASH_BASE;
+        // 之前直接传 Number(wdValue) 少乘了 100,导致提现金额偏小。
+        if (inputNum>0){
             dispatch(reqWithdrawPayout({
-                score:num
+                score:inputNum
             }))
         }
     }