tip:删除数组中的undefined

this.checkedImg = this.checkedImg.filter(Boolean)

原文地址:https://www.cnblogs.com/JiAyInNnNn/p/12015439.html