Skip to content

Commit

Permalink
fix: origin属性
Browse files Browse the repository at this point in the history
  • Loading branch information
El-Chiang committed Oct 25, 2021
1 parent dae63cd commit 5bcdca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/f2-next/src/components/geometry/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function splitArray(data, yField, connectNulls) {
let tmp = [];
let yValue;
each(data, function(obj) {
yValue = obj._origin ? obj._origin[yField] : obj[yField];
yValue = obj.origin ? obj.origin[yField] : obj[yField];
if (connectNulls) {
if (!isNil(yValue)) {
tmp.push(obj);
Expand Down

0 comments on commit 5bcdca6

Please sign in to comment.