angular.js - angularjs开发的网站,发布后在chrome中显示正常,ie中无法正常显示。
滿天的星座
滿天的星座 2017-05-15 17:11:57
0
2
607
  • 用yeoman创建的angularjs项目,开发时用localhost访问在IE与chrome中都能正常访问;

  • grunt压缩合并代码后发布,用ip访问时,在chrome中显示正常,但在IE中不能正常显示,只能显示导航栏并且点击没反应。

  • 在IE9中可以正常显示,IE11不能(补充)

请问这种情况是什么原因?

滿天的星座
滿天的星座

reply all(2)
曾经蜡笔没有小新

Open the debugger and see what error is reported? This is the most basic troubleshooting method

習慣沉默

Solved, I didn’t notice before that when I opened the le11 browser, there was a prompt saying ‘The browser does not support js, resulting in the loss of some functions’, so js did not work (there was no error message in the console) @hetianqi, I looked it up on the Internet In a similar situation, just select Enable for all the radio buttons under Internet Options->Security->Custom Level->Script

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!