This commit is contained in:
2026-06-11 17:33:59 +08:00
parent 1f165d28e2
commit e84f864229
2 changed files with 9 additions and 9 deletions

View File

@ -266,7 +266,7 @@ onMounted(() => {
const handleCommand = (command: string) => {
switch (command) {
case 'profile':
router.push('/profile/personal-center')
router.push('/profile/personalCenter')
break
case 'password':
router.push('/user/change-password')

View File

@ -10,23 +10,23 @@
<div class="wallet-grid">
<div class="wallet-item">
<span class="wallet-label">{{ t('withdraw.wallet.feeHandling') }}</span>
<span class="wallet-value">{{ walletInfo.commission_fee_handling || '0.00'}}</span>
<span class="wallet-value">{{ walletInfo.commission_fee_handling || '0.00' }}</span>
</div>
<div class="wallet-item">
<span class="wallet-label">{{ t('withdraw.wallet.pointDiff') }}</span>
<span class="wallet-value">{{ walletInfo.commission_point_diff || '0.00'}}</span>
<span class="wallet-value">{{ walletInfo.commission_point_diff || '0.00' }}</span>
</div>
<div class="wallet-item">
<span class="wallet-label">{{ t('withdraw.wallet.service') }}</span>
<span class="wallet-value">{{ walletInfo.service || '0.00'}}</span>
<span class="wallet-value">{{ walletInfo.service || '0.00' }}</span>
</div>
<div class="wallet-item" v-if="showRiskFee">
<span class="wallet-label">{{ t('withdraw.wallet.risk') }}</span>
<span class="wallet-value">{{ walletInfo.risk || '0.00'}}</span>
<span class="wallet-value">{{ walletInfo.risk || '0.00' }}</span>
</div>
<div class="wallet-item">
<span class="wallet-label">{{ t('withdraw.wallet.profit') }}</span>
<span class="wallet-value">{{ walletInfo.closing_profit || '0.00'}}</span>
<span class="wallet-value">{{ walletInfo.closing_profit || '0.00' }}</span>
</div>
<div class="wallet-item" v-if="roleId >= 5">
<span class="wallet-label">{{ t('withdraw.wallet.available') }}</span>
@ -405,7 +405,7 @@ const initData = async () => {
if (res) {
walletInfo.value = {
commission_fee_handling: res.commission_fee_handling || '0',
commission_point_diff: res.commission_point_diff || '0',
commission_point_diff: ''+(res.commission_point_diff - res.freeze||0) || '0',
service: res.service || '0',
risk: res.risk || '0',
closing_profit: res.closing_profit || '0',