传值方式
router.push({pathname: '/identification', query: {pid, page}});接收方式
const {
location: {
query: { pid, page },
}
} = this.props;公众号【码兄】

React中router传值之query传值
阅读 45
2023-12-12
传值方式
router.push({pathname: '/identification', query: {pid, page}});接收方式
const {
location: {
query: { pid, page },
}
} = this.props;
相关推荐
精彩评论(0)