1 使用chrome浏览器加载静态资源文件(css、js等)异常导致cssh和js文件不生效,具体报错如下: Resource interpreted as Stylesheet but transferred with MIME type text/html 原因应该是网页文档类型不一致导致的 最终的解决方案是删除html页面的声明, 参考这个方法解决:http://blog.csdn.net/lamanchas/article/details/77647521
浏览器加载静态资源文件异常解决办法
猜你喜欢
转载自my.oschina.net/u/3739402/blog/1633864
今日推荐
周排行