render(
(<Router history={browserHistory}>
<Route path="/" component={Layout}>
<IndexRoute component={HelloHandler}/>
<Route path="time" component={TimeHandler}/>
</Route>
</Router>), document.getElementById('react')
);
代码如上,我希望在传入HelloHandleer和TimeHandler的时候能改变Layout里面的内容,应该怎么做,求大神解答。