React 点击按钮返回上一级路由 一行代码直接搞定<Button onClick={() => this.props.history.goBack()} >Go Back</Button> javaScript 2023-10-30 142 点赞 2 评论 215 浏览