Skip to content

Commit

Permalink
chore: revert code
Browse files Browse the repository at this point in the history
  • Loading branch information
skie1997 committed Oct 26, 2023
1 parent 577840e commit 73257a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vchart/src/series/line/line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class LineSeries<T extends ILineSeriesSpec = ILineSeriesSpec> extends Car
// 增加一个标识位,用于是否替换,因为图例获取颜色的时候是不需要替换的
attribute === 'fill' && (attribute = 'stroke');
}
return this._seriesMark?.getAttribute(attribute as any, datum) ?? null;
return this._seriesMark?.getAttribute(attribute as any, datum) ?? undefined;
};
}

Expand Down

0 comments on commit 73257a9

Please sign in to comment.