Commit ad44709f by 姜雷

充值金额保留2位

parent bd262fef
...@@ -26,7 +26,7 @@ const RechargeItem = (props: { data: RechargeOrder }) => { ...@@ -26,7 +26,7 @@ const RechargeItem = (props: { data: RechargeOrder }) => {
</View> </View>
<View <View
className={`RechargeItem-price ${actualAmount >= 0 ? 'topay' : ''}`}> className={`RechargeItem-price ${actualAmount >= 0 ? 'topay' : ''}`}>
{actualAmount} {actualAmount.toFixed(2)}
</View> </View>
</View> </View>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment