React 页面跳转传值

页面跳转传值:value

router.push({ pathname: '/list', state: value });


list页面取值:
const { location: { state } } = this.props;

原文地址:https://www.cnblogs.com/94cool/p/15038832.html