feat(wallet): show withdraw history on mobile and desktop
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user