1
有誰知道如何在使用React路由器時獲取React中的URL參數嗎?在反應路由器中反應的Url Params
我試圖做這樣的事情:
filterList(key) {
if (key===this.props.location.query){
return Blogstore.state.blog
}
,以配合我的鏈接末尾的唯一關鍵:
http://localhost:8080/blogshow/-KGYsxaXyMiej5cgU5A7