vdi/pc-fe/src/app.tsx

10 lines
256 B
TypeScript
Raw Normal View History

2025-07-30 01:07:36 +00:00
import { history } from 'umi';
export function onRouteChange({ location }: { location: any }) {
// 路由变化时的处理逻辑
console.log('Route changed to:', location.pathname);
}
export function render(oldRender: () => void) {
oldRender();
}