Skip to content

Commit

Permalink
fix: fix parameters in promise cellHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Jul 17, 2023
1 parent 7823f78 commit 35b7531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/vtable/examples/style/function.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as VTable from '../../src';
const PivotTable = VTable.PivotTable;
const Table_CONTAINER_DOM_ID = 'vTable';
import { bindDebugTool } from '../../src/scenegraph/debug-tool';

function generatePivotDataSource(num, colCount) {
const array = new Array(num);
Expand Down Expand Up @@ -478,7 +479,7 @@ export function createTable() {
instance.updatePivotSortState([{ dimensions: e.dimensionInfo, order }]);
});

VTable.bindDebugTool(instance.scenegraph.stage as any, {
bindDebugTool(instance.scenegraph.stage as any, {
customGrapicKeys: ['role', '_updateTag']
});

Expand Down
2 changes: 0 additions & 2 deletions packages/vtable/src/scenegraph/group-creater/cell-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ export function updateCell(col: number, row: number, table: BaseTableAPI, addNew
col,
row,
bgColorFunc,
customRender,
customLayout,
cellWidth,
cellHeight,
oldCellGroup,
Expand Down

0 comments on commit 35b7531

Please sign in to comment.