Query params not updating in controller

北城余情 提交于 2019-12-24 11:37:43

问题


Using build v1.5.0-beta.4

My query params are showing up in the router in the params.queryParams object but do not seem to be updating their respective properties in the controller. Can't tell if this is a bug or behaving as expected. If this is behaving as expected, what flag do I need to set to get the desired behavior like in the older builds?

Could someone take a look at this jsbin http://jsbin.com/tojamara/64/edit and see if this is a bug or not?

If I change the build to the ones used in the documentation it behaves as expected. See http://jsbin.com/tojamara/66/edit


回答1:


It's that version of Ember, use a canary build (1.6+).



来源:https://stackoverflow.com/questions/22429099/query-params-not-updating-in-controller

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!