// for (var key in itemArr) { // 报错[tslint] for (... in ...) statements must be filtered with an if statement (forin)
改为
for (const key of Object.keys(itemArr)) {
posted on 2018-08-07 14:17  EnochRy  阅读(3685)  评论(0编辑  收藏  举报