diff --git a/components/lib/utils/ObjectUtils.js b/components/lib/utils/ObjectUtils.js index 4ba0250bbe..25af6743ed 100644 --- a/components/lib/utils/ObjectUtils.js +++ b/components/lib/utils/ObjectUtils.js @@ -60,6 +60,8 @@ export default class ObjectUtils { if (data && Object.keys(data).length && field) { if (this.isFunction(field)) { return field(data); + } else if (ObjectUtils.isNotEmpty(data[field])) { + return data[field]; } else if (field.indexOf('.') === -1) { return data[field]; } else {