1.设置 isDisabled 【Boolean】
Array.forEach((item, index) => {
item['isDisabled'] = item.status == 1 ? true : false
if(item.children.length!=0){
item.children.forEach(child => {
child['isDisabled'] = child.status == 1 ? true : false
})
}
})