fix: missing await for an async function call (#4035)

This commit is contained in:
Li Kui
2024-08-04 21:53:44 +08:00
committed by GitHub
parent 7994d664fd
commit e29352d0f1
4 changed files with 9 additions and 9 deletions

View File

@@ -6,8 +6,8 @@ export function useRefresh() {
const router = useRouter();
const tabbarStore = useTabbarStore();
function refresh() {
tabbarStore.refresh(router);
async function refresh() {
await tabbarStore.refresh(router);
}
return {