车间能级提升-智能设备管理系统
zhuguifei
2025-03-11 7cc3ac34f175e2dacc76a02fb66ae3ba9f747b55
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,
  };
}