问题描述
几乎在所有IE浏览器版本中,在Internate Explorer(IE7,11)中刷新后,PrimeNG和图标都没有显示.
PrimeNG and icon's not showing after Refresh in Internate Explorer (IE7,11) almost all IE Browser Versions.
但是在本地,当我使用相同的IE时,它工作正常.但是在生产环境中,您会收到此错误,如下图所示:
But in local it is working fine while I am using same IE.But in Production environment I am getting this error as you can seen in given below image :
图像可能未显示为某些限制 但是表格中的图标就像
Image Might not show as some restriction but the icon in Table like
在引用之前
<< < 1 2 3 4 5 > >>
刷新后
1 2 3 4 5
PrimeNG也发生了同样的事情图标也消失了
same thing happens with PrimeNG there icone is gone too
推荐答案
我有一些解决方案可以正常工作,因为它与IE浏览器存在兼容性问题
i have got some Solution which is working fine as it is some compatibility issue with IE browsers
在index.html中:在Head标记中,我们必须在下面添加meta和link标记
in index.html: in Head tag we have to add given below meta and link tags
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" />
</head>
这篇关于PrimeNG< p-table>和< p-calendar>在Internet Explorer(IE7,11)中刷新后未显示图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!