我有一个干净的url,其中包含一些这样的查询参数。http://localhost:3000/post/:id我正在尝试像这样在客户端捕获查询参数“id”。staticasyncgetInitialProps({req,query:{id}}){return{postId:id}}render(){constprops={data:{'id':this.props.postId//thisqueryparamisundefined}}return(Acomponent)}我的express端点如下所示。app.post('/post/:id',(req,res,next)=>{letd