Dataset._getDataItems(...) 수정

master
mjkhan21 2 months ago
parent 3bbf44e3bf
commit c1d9799277

@ -544,7 +544,7 @@ class Dataset {
_getDataItems(obj, option) { _getDataItems(obj, option) {
obj = obj || []; obj = obj || [];
let array = Array.isArray(obj) ? obj : null; let array = Array.isArray(obj) ? [obj] : null;
if (!array && this.conf.dataGetter) if (!array && this.conf.dataGetter)
array = this.conf.dataGetter(obj) || []; array = this.conf.dataGetter(obj) || [];
array = array || []; array = array || [];

Loading…
Cancel
Save