IE 8 下 angular 动态生成的 select 的兼容指令

2016-11-01
阅读 2 分钟
2.5k
angular 渲 select 有很多坑,例如:官方推荐是用 ng-options,但是这样渲出来的下拉菜单在某些版本的 chrome 上是不可用的,所以为了兼容,我们舍弃了 ng-options。那么只剩下 ng-repeat 来渲下拉菜单,这样在 ie 8 下也是有坑的,对于动态生成的下拉菜单,ie 8 总是无法渲出各个 options,如图:

IE11 下 IE8 模式,angular 1.2.5 报错 SCRIPT445:对象不支持此操作

2016-04-27
阅读 1 分钟
5.6k
Note: reading logFn.apply throws an error in IE11 in IE8 document mode. The reason behind this is that console.log has type "object" in IE8...