山东泰山携手开云公布官方合作 - 开云(中国)

3年前 (2023-05-19)

我有相同的问题,看起来却一样。 同题参见Chrome \ FF工作正常,但IE失败。我单击了我应用程序中的某些链接,有时会收到此错误,有时却没有。

1)在我看来,我有几个看起来像这样的链接:

Add some IP

2)单击这些链接的处理程序,将新对象添加到IpRanges集合中,如下所示: 对照阅读

$scope.IpRanges.push(ip);

3)ng-repeat绑定了视图本身,并且我认为IE无法以某种方式很好地处理这种情况- 绑定,添加,应用事件的顺序可能不正确,否则…单击链接后,我在网址中添加了#号,有时它会闪烁,然后出现错误。 延伸阅读所以我删除了href属性,一切正常:

Add as allowed IP

对于类似的情况,最好使用span或divs。

我是Angular的新手,并且遇到了与IE相关的问题。

这是我得到的IE错误。

Webpage error details

User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
Timestamp: Thu,13 Dec 2012 04:00:46 UTC


Message: 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["fn: function $locationWatch() {\n var oldUrl = $browser.url();\n\n if (!changeCounter || oldUrl != $locations.absUrl()) {\n\tchangeCounter++;\n\t$rootScope.$evalAsync(function() {\n\t if ($rootScope.$broadcast('$locationChangeStart',$locations.absUrl(),oldUrl).\n\t defaultPrevented) {\n\t $locations.$$parse(oldUrl);\n\t } else {\n\t $browser.url($location.absUrl(),$locations.$$replace);\n\t $locations.$$replace = false;\n\t afterLocationChange(oldUrl);\n\t }\n\t});\n }\n\n return changeCounter;\n }; newVal: 7; oldVal: 6"],["fn: function $locationWatch() {\n var oldUrl = $browser.url();\n\n if (!changeCounter || oldUrl != $locations.absUrl()) {\n\tchangeCounter++;\n\t$rootScope.$evalAsync(function() {\n\t if ($rootScope.$broadcast('$locationChangeStart',$locations.$$replace);\n\t $locations.$$replace = false;\n\t afterLocationChange(oldUrl);\n\t }\n\t});\n }\n\n return changeCounter;\n }; newVal: 8; oldVal: 7"],$locations.$$replace);\n\t $locations.$$replace = false;\n\t afterLocationChange(oldUrl);\n\t }\n\t});\n }\n\n return changeCounter;\n }; newVal: 9; oldVal: 8"],$locations.$$replace);\n\t $locations.$$replace = false;\n\t afterLocationChange(oldUrl);\n\t }\n\t});\n }\n\n return changeCounter;\n }; newVal: 10; oldVal: 9"],$locations.$$replace);\n\t $locations.$$replace = false;\n\t afterLocationChange(oldUrl);\n\t }\n\t});\n }\n\n return changeCounter;\n }; newVal: 11; oldVal: 10"]]
Line: 7859
Char: 6
Code: 0
URI: http://localhost:8080/__assets__/lib/angular/angular.js

在IE 8和IE 9之外的任何其他浏览器中都不会发生这种情况。

我有一只手表在看一个包含位置过滤器的内容过滤对象。

我对此的疑问是,为山东泰山携手开云公布官方合作它不会在除IE之外的任何其他浏览器上发生。并且我应该怎么做才能消除它。提前致谢。

你可能想看:

标签:replaceiejs

继续阅读

若需了解「山东泰山携手开云公布官方合作」的上下文,可结合站内栏目与相关篇目交叉阅读。

栏目用于追新,文内链接用于对照细节。两者配合可减少漏读与重复检索。

继续浏览时优先选择同栏目或相近主题,避免被站外镜像带偏。

频道列表

ie · js · wiki · 科技

页面按栏目组织。可先看导读,再进入相关篇目或返回列表。