9.11.2 实现useHookRoutes