AngularJS $locationChangeStart not being called a second time when first time cancelled using event.preventDefault()

后端 未结 0 1250
生来不讨喜
生来不讨喜 2020-12-02 23:56

My code is as follows:

locationChangeStart:

$scope.$on(\'$locationChangeStart\', (event, next, current) => {
      if (this.scope.policyDirty) {
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题