Skip to content

Commit f935c15

Browse files
committed
fix: props error
1 parent 36c19cc commit f935c15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/vtable-plugins/src/table-carousel-animation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ export class TableCarouselAnimationPlugin implements pluginsDefinition.IVTablePl
6969

7070
reset() {
7171
this.playing = false;
72-
this.row = this.table.frozenRowCount;
73-
this.col = this.table.frozenColCount;
72+
this.row = this.table?.frozenRowCount ?? 0;
73+
this.col = this.table?.frozenColCount ?? 0;
7474
}
7575

7676
play() {

0 commit comments

Comments
 (0)