linkTo / transitionTo:当目标路由与当前路由相同时刷新路由/模型

时间:2016-03-02 03:16:59

标签: ember.js

目前转换到当前路线并没有做任何事情。

link-to助手或transitionTo方法的目标路线与currentRouteName相同时,我一直在尝试触发路线/模型刷新。

1 个答案:

答案 0 :(得分:0)

You are looking to trigger a full transition. Have a look at the official guide: https://guides.emberjs.com/v2.4.0/routing/query-params/#toc_opting-into-a-full-transition