为什么我的网址以?结尾?我打电话给FlowRouter.go(/score/ + this.props.courseId)
它不应该以?结尾。我正在使用与流星的反应。
http://localhost:3000/score/k5QKvkFet5wteAg2r?
< ----问号?
显示在我的调试
中Navigated to http://localhost:3000/score/k5QKvkFet5wteAg2r?
router.jsx
FlowRouter.route("/score/:courseId/", {
name: "Score",
action (params) {
renderMainLayoutWith(<Score courseId={params.courseId}/>)
}
})