This commit is contained in:
chenjianxing 2021-02-22 13:05:24 +08:00
commit fc2e3e3ca3
1 changed files with 5 additions and 1 deletions

View File

@ -254,8 +254,12 @@ export default {
let resultValidate = {validate: true, msg: this.$t('test_resource_pool.fill_the_data')};
this.infoList.forEach(info => {
for (let key in info) {
//
if (key === 'nodeSelector') {
continue;
}
if (info[key] != '0' && !info[key]) {
resultValidate.validate = false
resultValidate.validate = false;
return false;
}
}