1.不传参
第一步:定义route
import Login_Index from '../components/Login_Index.js';//引入页面
<Route path="/Login_Index " component={Login_Index }/> //path:单纯路径
第二步:导航跳转设置:单击“登录”按钮跳转到登录主页
<Link to="/Login_Index "> <Button >登录</Button> </Link>
import Login_Index from '../components/Login_Index.js';//引入页面
<Route path="/Login_Index " component={Login_Index }/> //path:单纯路径
<Link to="/Login_Index "> <Button >登录</Button> </Link>