this.props.history.push({pathname:‘/my/order/sureorder‘,state: {from: ‘single‘}});//跳转
this.props.history.replace({pathname:‘/my/order/sureorder‘,state: {from: ‘single‘}}); //跳转但不记录当前页面历史路径
时间: 2024-11-01 11:19:35
this.props.history.push({pathname:‘/my/order/sureorder‘,state: {from: ‘single‘}});//跳转
this.props.history.replace({pathname:‘/my/order/sureorder‘,state: {from: ‘single‘}}); //跳转但不记录当前页面历史路径