办学质量监测教学评价系统
康鲁杰
7 天以前 4398a02bf8543e73a716dee14b3ba4af56c6b9f8
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,
  };
}