Dataset._getDataItems(...) 수정

master
mjkhan21 2 months ago
parent c1d9799277
commit 8420670612

@ -543,11 +543,10 @@ class Dataset {
}
_getDataItems(obj, option) {
obj = obj || [];
let array = Array.isArray(obj) ? [obj] : null;
let array = Array.isArray(obj) ? obj : null;
if (!array && this.conf.dataGetter)
array = this.conf.dataGetter(obj) || [];
array = array || [];
array = array || [obj];
/*
let array = Array.isArray(obj) ? obj : this.conf.dataGetter(obj) || [];
if (!Array.isArray(array))

Loading…
Cancel
Save