react 跳转页面

第一种:this.props.router.push(path)sql 第二种:this.context.router.push(path)this 文件要额外添加一些内容spa class Example extends React.Component { constructor(props, context) { super(props, context);
相关文章
相关标签/搜索