如果数组中的对象中的virtualMachineIp属性有no_vm属性 就把这一行数据push到新数组中
var cc = []; for(var i = 0; i<ressc.length; i++){ if(ressc[i].virtualMachineIp == "no_vm"){ cc.push(ressc[i]) } } this.setState({ selectFloatIPssa: cc }); if(this.state.deleteCheckbox[0].floatIp != "no"){ }