feat: 提现金额修改字段
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="card balance-card">
|
<view class="card balance-card">
|
||||||
<view class="balance-label">当前钱包余额</view>
|
<view class="balance-label">当前可提现金额</view>
|
||||||
<view class="balance-value">{{ $fen2yuan(walletBalanceCents || 0) }}</view>
|
<view class="balance-value">{{ $fen2yuan(walletBalanceCents || 0) }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
const refreshWallet = async () => {
|
const refreshWallet = async () => {
|
||||||
const res = await payApi.getWallet().catch(() => ({ code: -1 }));
|
const res = await payApi.getWallet().catch(() => ({ code: -1 }));
|
||||||
if (res?.code === 0) walletBalanceCents.value = res?.data?.balance ?? 0;
|
if (res?.code === 0) walletBalanceCents.value = res?.data?.withdrawAmount ?? 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
const onAmountBlur = () => {
|
const onAmountBlur = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user