AEM AngularJS没有在IE9上工作

时间:2022-12-09 09:56:38

I found peculiar issue in IE9 with Adobe Experience Manager(Adobe CMS Platform), Angular JS ng-app on body attribute is removed when I load the test and target(Adobe tracking platform) js file. Can any of you suggest fix for the same. And found it works fine with IE10+, Chrome & Firefox. I have tried rename all directive from "ng-app" to "data-ng-app" but this also still not working for me.

我在使用Adobe Experience Manager(Adobe CMS平台)的IE9中发现了特殊问题,当我加载测试和目标(Adobe跟踪平台)js文件时,取消了body属性上的Angular JS ng-app。你们中的任何人都可以建议同样的方法。并发现它适用于IE10 +,Chrome和Firefox。我已经尝试将所有指令从“ng-app”重命名为“data-ng-app”,但这对我来说仍然无效。

2 个解决方案

#1


0  

There are a few other issues with IE9, such as loading XMLHttp requests and also some page expiring stuff:

IE9还有一些其他问题,例如加载XMLHttp请求以及一些页面过期的东西:

link to similar * q.

链接到类似的* q。

There may be also some console logging:

可能还有一些控制台日志记录:

logging

I've seen some other stuff and does the IE9 console tell you anything? If mbox is causing you issues then you can place an error handling around that module, or remove the inclusion of the module until you have resolved other problems.

我见过其他一些东西,IE9控制台告诉你什么吗?如果mbox导致问题,那么您可以围绕该模块进行错误处理,或者在解决其他问题之前删除模块的包含。

#2


0  

I found that the below code is blocking in IE9 and commenting on the below code in main controller fixed the issue now.

我发现下面的代码在IE9中是阻塞的,并且在主控制器中对下面的代码进行评论现在解决了这个问题。

$locationProvider.html5Mode(true);

I'm not sure why it is breaking on this. Even base tag issue not happening after commenting the above script.

我不确定为什么要打破这个。在评论上述脚本后,甚至不会发生基本标记问题。

#1


0  

There are a few other issues with IE9, such as loading XMLHttp requests and also some page expiring stuff:

IE9还有一些其他问题,例如加载XMLHttp请求以及一些页面过期的东西:

link to similar * q.

链接到类似的* q。

There may be also some console logging:

可能还有一些控制台日志记录:

logging

I've seen some other stuff and does the IE9 console tell you anything? If mbox is causing you issues then you can place an error handling around that module, or remove the inclusion of the module until you have resolved other problems.

我见过其他一些东西,IE9控制台告诉你什么吗?如果mbox导致问题,那么您可以围绕该模块进行错误处理,或者在解决其他问题之前删除模块的包含。

#2


0  

I found that the below code is blocking in IE9 and commenting on the below code in main controller fixed the issue now.

我发现下面的代码在IE9中是阻塞的,并且在主控制器中对下面的代码进行评论现在解决了这个问题。

$locationProvider.html5Mode(true);

I'm not sure why it is breaking on this. Even base tag issue not happening after commenting the above script.

我不确定为什么要打破这个。在评论上述脚本后,甚至不会发生基本标记问题。