我相信这是ui-router的值为
{ location:’replace’}的选项参数.
文档说明:
location Boolean or “replace” (default true),If true will update the
url in the location bar,if false will not. If string “replace”,will
update url and also replace last history record.
似乎有一个问题(见here on GitHub)要修复.