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