mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:35:58 +08:00
fix: missing await for an async function call (#4035)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user