1 getAllInfo: [[{iP: '3', domain: '环境', attribute: '0',name:'服务器名'}]]
1 for (let i = 0; i < _this.getAllInfo.length; i++) { 2 for (let j = 0; j < _this.getAllInfo[i].length; j++) { 3 if (_this.getAllInfo[i][j].attribute >= 10) { 4 _this.health = '警告'; 5 } 6 } 7 }