车间能级提升-智能设备管理系统
zhuguifei
2025-04-22 7a6dc6d28d36e4c3558391bac52d188d5075543f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { mitt } from '@vben/utils';
 
type Events = {
  to: number;
};
 
export const emitter = mitt<Events>();
 
/**
 * 跳转到指定步骤
 * @param step 步骤
 */
export function toCurrentStep(step: number) {
  emitter.emit('to', step);
}