Skip to content

Commit 870ad75

Browse files
committed
fix: check editorManager value
1 parent 21a1d81 commit 870ad75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vtable/src/core/BaseTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@ export abstract class BaseTable extends EventTarget implements BaseTableAPI {
23582358
* @param options
23592359
*/
23602360
updateOption(options: BaseTableConstructorOptions) {
2361-
this.editorManager.cancelEdit();
2361+
this.editorManager?.cancelEdit();
23622362
(this.options as BaseTable['options']) = options;
23632363
this._hasAutoImageColumn = undefined;
23642364
const {

0 commit comments

Comments
 (0)