Merge pull request 'fix: handle added ctx' (#428) from fix_charts_build into @hera/dev
Reviewed-on: daoyoucloud/tachycode#428
This commit is contained in:
commit
bd39b36d65
@ -31,8 +31,8 @@ export class Pie extends G2PlotChart {
|
||||
};
|
||||
};
|
||||
|
||||
getProps({ data, general, advanced, fieldProps }: RenderProps) {
|
||||
const props = super.getProps({ data, general, advanced, fieldProps });
|
||||
getProps({ data, general, advanced, fieldProps, ctx }: RenderProps) {
|
||||
const props = super.getProps({ data, general, advanced, fieldProps, ctx });
|
||||
return {
|
||||
...props,
|
||||
tooltip: (d, index: number, data, column: any) => {
|
||||
|
Loading…
Reference in New Issue
Block a user