selection.map((el) => { if (el.childList) { // 解决子组件没有被勾选到 this.setChildren(el.childList, true) } }) } if (isCancel) { this.tableData.map((el) => { if (el.childList) { // 解决子组件没有被勾选到 this.setChildren(el.childList, false) } }) } this.$emit('...