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