import { history } from 'umi';

export function onRouteChange({ location }: { location: any }) {
  // 路由变化时的处理逻辑
  console.log('Route changed to:', location.pathname);
}

export function render(oldRender: () => void) {
  oldRender();
} 