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