feat: 优化个人中心邀请卡片

This commit is contained in:
richarjiang
2026-09-09 10:10:52 +08:00
parent 99c5c211ad
commit f4cee127ce
4 changed files with 49 additions and 13 deletions

View File

@@ -88,6 +88,7 @@ onShow(async () => {
if (loggedIn.value) {
await Promise.all([
invite.refresh().catch(() => {}),
invite.refreshActivity().catch(() => {}),
userStore.fetchProfile(),
userStore.fetchStats(),
userStore.fetchMemberships(),
@@ -103,6 +104,7 @@ async function handleLogin() {
const { isNewUser } = await userStore.loginWithSetup()
if (!isNewUser) {
await Promise.all([
invite.refreshActivity().catch(() => {}),
userStore.fetchStats(),
bookingStore.fetchUpcomingBookings(),
])