单项选择题

A.将路由相关属性扩展到当前组件的state上
B.将路由相关属性扩展到当前组件的props上
C.将路由相关方法扩展到当前组件的props上
D.将路由相关方法扩展到当前组件的state上