AngularJS UI Router $state reload child state only

后端 未结 4 1099
囚心锁ツ
囚心锁ツ 2020-12-05 13:42

I am using UI router for tabs of a main menu as well as for links within one of the states (users). The users state has a list of users and when a user is clicked, I want t

4条回答
  •  粉色の甜心
    2020-12-05 14:12

    $state.transitionTo("State Here", {"uniqueRequestCacheBuster": null});
    

    This will simply reload only that child state as you wanted. not the whole hierarchy of states.

提交回复
热议问题