feat(wallet): show withdraw history on mobile and desktop

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-01 19:30:06 +03:30
co-authored by Cursor
parent 24a98b5448
commit 5d3d7c4ed7
5 changed files with 64 additions and 3 deletions
@@ -25,6 +25,7 @@ import {
loadMoreWalletDeposits,
loadMoreWalletWithdrawals,
refreshWalletCards,
reloadWalletWithdrawals,
walletCardItems,
walletDepositItems,
walletWithdrawItems,
@@ -256,6 +257,7 @@ export function useWalletPage() {
extra_note: extraNote.value.trim() || undefined,
})
await walletStore.getMyWallet()
await reloadWalletWithdrawals()
await message.success('عملیات با موفقیت انجام شد')
withdrawInfModal.value = true
resetData()
@@ -284,6 +286,11 @@ export function useWalletPage() {
await loadSupportMessengerFromSettings(true)
})
watch(isDeposit, () => {
const el = activeDepositScrollEl.value
if (el) el.scrollTop = 0
})
if (!userStore.isSingle) {
useInfiniteScroll(
activeDepositScrollEl,