摘要: 1:路由传递参数的两种形式 get 传值 通过query <Link to={`/newsdetail?newid=${item.id}`}>{item.title}</Link> 接收 var search = this.props.location.search; 使用url库解析 npm in 阅读全文
posted @ 2019-11-12 13:41 初心不负 阅读(253) 评论(0) 推荐(0) 编辑