React路由通信

 
 
 
           <Router>
                    <Switch>
                        <Route exact path="/login" component={() => <Login get_Saved_Psw={this.get_Saved_Psw.bind(this)} />} />
                    </Switch>
                </Router>
posted @ 2020-12-03 10:54  进阶的哈姆雷特  阅读(103)  评论(0编辑  收藏  举报