diff --git a/components/lib/utils/ObjectUtils.js b/components/lib/utils/ObjectUtils.js index 1b665c797..d3a101004 100755 --- a/components/lib/utils/ObjectUtils.js +++ b/components/lib/utils/ObjectUtils.js @@ -56,6 +56,15 @@ export default { }, resolveFieldData(data, field) { + try { + const value = data[field]; + if (value) + return value; + } + catch { + // do nothing and continue to other methods to resolve field data + } + if (data && Object.keys(data).length && field) { if (this.isFunction(field)) { return field(data);