You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
295 B

import { useRouter } from 'vue-router';
import { useTabbarStore } from '@vben/stores';
export function useRefresh() {
const router = useRouter();
const tabbarStore = useTabbarStore();
async function refresh() {
await tabbarStore.refresh(router);
}
return {
refresh,
};
}