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