Extjs 兼容IE10

在对应的地方将Ext.isIE

修改成:

  Ext.isIE 

  && !(/msie 9/.test(navigator.userAgent.toLowerCase())  && document.documentMode === 9)
     && !(/msie 10/.test(navigator.userAgent.toLowerCase())  && document.documentMode === 10)

就可以兼容IE10了。

例如:弹出框的阴影:可以将Ext-all.js中的Ext.shadow下面的Ext.isIE替换掉即可。

原文地址:https://www.cnblogs.com/cangowu/p/4103090.html