search

Home  >  Q&A  >  body text

angular.js - angular的ui-router的$stateChangeStart事件没有触发。是写法有问题吗

切换路由没有触发打印111

某草草某草草2743 days ago600

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-05-15 17:15:34

    Have you registered $rootScope?

    $inject = ['$rootScope'

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-15 17:15:34

    Try to put run after config, I also wrote it like this, you can monitor it

    reply
    0
  • Cancelreply