refine infinite scroll - infiniteStart is a ref variable and infiniteAcctData is a computed one.

This commit is contained in:
Cindy Chang
2024-06-25 16:28:36 +08:00
parent 877c6acfb1
commit 353eecad81
3 changed files with 7 additions and 13 deletions

View File

@@ -46,6 +46,7 @@ export default defineComponent({
if(acctMgmtStore.deleteAccount(acctMgmtStore.currentViewingUser.username)){
toast.success(i18next.t("AcctMgmt.MsgAccountDeleteSuccess"));
modalStore.closeModal();
await acctMgmtStore.getAllUserAccounts();
router.push("/account/account-admin");
}
}