android打包过后不支持 for of,经测试for in 是支持的,全部修改工作量有点大,有没有有办法让打包过后支持for of。
真的吗? 这个如果是真的,bug就很大了。但好像我没碰到过这个问题?
找到问题了
这种写法 for(let item of list) 网页和android都可以了,
for(item1 of list) 这种写法 网页可以 android报错的。
编译成es5
android打包过后不支持 for of,经测试for in 是支持的,全部修改工作量有点大,有没有有办法让打包过后支持for of。
真的吗? 这个如果是真的,bug就很大了。但好像我没碰到过这个问题?
找到问题了
这种写法 for(let item of list) 网页和android都可以了,
for(item1 of list) 这种写法 网页可以 android报错的。
编译成es5