摘要: 方式 一: 通过params 1.路由表中 2.Link处 HTML方式 XXXX JS方式 this.props.history.push( '/sort/'+'2' ) 3.sort页面 通过 this.props.metch.params.id 就可以接受到传递过来的参数(id) 方式 二: 阅读全文
posted @ 2019-01-09 08:53 maps..xy 阅读(155) 评论(0) 推荐(0) 编辑