react页面跳转时带值跳转 dva+react

dispatch(routerRedux.push("/register/register?patno="+result.patno))/// ?前面为地址 在跳转以前的页面操 const { app:{locationQuery }} = this.props; ////跳转以后的页面接收值 console.log(locationQuery) /////打印要传的 location
相关文章
相关标签/搜索