AngularJS:无法读取未定义的属性'runner'

问题描述 投票:2回答:1

摘要:我的角度应用程序遇到一个关键问题。我正在使用

  • AngularJS v1.4.7
  • angular-animate
  • angular-ui-router

我在控制台TypeError: Cannot read property 'runner' of undefined]中收到错误>

截屏:

enter image description here

产生错误的方式:

[此Type Error并非每次都产生,但是有时我尝试使用HTML中的state和控制器中的ui-sref来更改$state.go()

到目前为止我尝试过什么?

我在angular-animate.js中尝试了此临时修复程序,但没有任何进展。

enter image description here

opened issuegithub中都有很多SO

摘要:我的角度应用程序存在一个关键问题。我正在使用AngularJS v1.4.7 angular-animate angular-ui-router我在控制台TypeError中遇到错误:无法读取属性'...

angularjs typeerror ng-animate ui-sref state.go
1个回答
0
投票

抱歉,我迟到了。请检查HTML中是否有任何ng-data-animate指令。理想情况下,它应该自行设置。如果您手动设置它,那是错误的。

© www.soinside.com 2019 - 2024. All rights reserved.