我的代码无法验证是否单击了此复选框。无论其选中还是未选中,它都会在每次迭代中单击该框。 我尝试了各种方法,但是都没有工作,因为期望值不匹配而引发错误。随后会检查和取消检查
continent: {
continentName,//the id
planetName //id of the belonging planet
},city: {
cityName,//the id
countryName,// id of the belonging country
continentName,//id of the belonging continent
planetName //id of the belonging planet
}