IE11兼容性设定

增加browser文件,如下:

  < browsers >
   < browser  refID ="Default" >
     < capabilities >
       <!--  To avoid wrong detections of e.g. IE10  -->
       < capability  name ="cookies"  value ="true"   />
       < capability  name ="ecmascriptversion"  value ="3.0"   />
     </ capabilities >
   </ browser >
</ browsers >

Web.config设置

    < system.webServer >
     < httpProtocol >
       < customHeaders >
         < clear />
         < add  name ="X-UA-Compatible"  value ="IE=edge" />
       </ customHeaders >
     </ httpProtocol >
     </ system.webServer >

你可能感兴趣的:(兼容性)