element-ui used, directly used in vue
submitCondition(row) {
if(row.value.trim() != '') {
console.log(row);
}else {
console.log('输入的空格');
}
},
I do not know what the reason, you can just start using the above method, and later changed the error code, and then holding the sake of simplicity to use the jq inside the method:
$.trim(row.settingValue) != ''