“错误:无效的参数."在IE11上 [英] "Error: Invalid argument." on IE11
本文介绍了“错误:无效的参数."在IE11上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从IE11的Angular 1.5.7中收到以下错误. Angular不会在Chrome上引发任何错误.我尝试了以下方法:
I'm getting the error listed below from Angular 1.5.7 on IE11. Angular IS NOT throwing any errors on Chrome. I tried the following:
- 我看到过一些帖子暗示这与内插值有关,例如"{{model.label}}",因此我在上面添加了ng-if,但没有帮助.
- 升级到最新的Angular:1.5.7.
-
升级了jquery,因为我看到了错误堆栈中列出的那个
- I've seen posts suggesting this is related to the interpolated values such as "{{model.label}}", so I added an ng-if to that, but it did not help.
- Upgraded to the latest Angular: 1.5.7.
Upgraded jquery since I see that listed in the error stack.
Error: Invalid argument.
at interpolateFnWatchAction (http://localhost:8080/mdp-js/app/assets/angular/angular.js:9621:17)
at interpolateFnWatcher (http://localhost:8080/mdp-js/app/assets/angular/angular.js:12295:17)
at watchGroupAction (http://localhost:8080/mdp-js/app/assets/angular/angular.js:16952:13)
at Scope.prototype.$digest (http://localhost:8080/mdp-js/app/assets/angular/angular.js:17286:23)
at Scope.prototype.$apply (http://localhost:8080/mdp-js/app/assets/angular/angular.js:17552:13)
at Anonymous function (http://localhost:8080/mdp-js/app/assets/angular/angular.js:17850:11)
at completeOutstandingRequest (http://localhost:8080/mdp-js/app/assets/angular/angular.js:5955:7)
at Anonymous function (http://localhost:8080/mdp-js/app/assets/angular/angular.js:6234:7) undefined
推荐答案
记录下来,此错误是由Angular Block UI指令引起的:
For the record, this error was being caused by the Angular Block UI directive: https://github.com/McNull/angular-block-ui . I removed that directive & the error stopped.
这篇关于“错误:无效的参数."在IE11上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文