选择仅在IE11中显示的选择错误中的选项时

时间:2015-08-06 10:40:19

标签: javascript angularjs

在我的angularjs应用程序中,当我从IE11下拉列表中选择选项时,我收到一些奇怪的错误。我使用ngOption创建了选项。错误只出现一次。如果我再次选择相同的下拉列表错误不重复或在控制台中显示。错误仅在IE 11中出现(未在IE 9和10中测试)。在IE8中,它没有任何错误。

错误信息如下所示。

  Error: Invalid argument.
   at Anonymous function (http://localhost:57084/Form/dist/angular/angular.min.js:56:414)
   at h.prototype.$digest (http://localhost:57084/Form/dist/angular/angular.min.js:100:297)
   at h.prototype.$apply (http://localhost:57084/Form/dist/angular/angular.min.js:103:98)
   at Anonymous function (http://localhost:57084/Form/dist/angular/angular.min.js:195:223)
   at n.event.dispatch (http://localhost:57084/Form/js/jquery.min.js:3:8010)
   at r.handle (http://localhost:57084/Form/js/jquery.min.js:3:4692)
Error: Invalid argument.
   at Anonymous function (http://localhost:57084/Form/dist/angular/angular.min.js:56:414)
   at h.prototype.$digest (http://localhost:57084/Form/dist/angular/angular.min.js:100:297)
   at h.prototype.$apply (http://localhost:57084/Form/dist/angular/angular.min.js:103:98)
   at Anonymous function (http://localhost:57084/Form/dist/angular/angular.min.js:195:223)
   at n.event.dispatch (http://localhost:57084/Form/js/jquery.min.js:3:8010)
   at r.handle (http://localhost:57084/Form/js/jquery.min.js:3:4692)

通过查看错误消息,我没有获得有关控制器中的错误的任何详细信息,也无法跟踪错误。请帮忙

0 个答案:

没有答案