办学质量监测教学评价系统
康鲁杰
2 天以前 8aa387320b299a244cb81c5735ddfe47a86dea60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,
  };
}