From fb56773459fe9454457605c3759ad47402b3eebe Mon Sep 17 00:00:00 2001 From: icebergtsn Date: Tue, 3 Sep 2024 20:18:16 +0800 Subject: [PATCH] fix: public prefetch --- frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 505b5b2..e4d898e 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -18,10 +18,10 @@ export default { const userStore = useUserStore(); onMounted(async () => { + await appStore.prefetch(); if (!appStore.isPublic) { // testSatisfies(); websocketStore.start(); - await appStore.prefetch(); userStore.init(); appStore.init(); }