We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5fefd9 + 5d4f16b commit 0114a1aCopy full SHA for 0114a1a
2 files changed
common/changes/@visactor/vtable/fix-HighlightHeaderWhenSelectCellPlugin_2025-10-15-06-54.json
@@ -0,0 +1,11 @@
1
+{
2
+ "changes": [
3
+ {
4
+ "comment": "fix: plugin HighlightHeaderWhenSelectCellPlugin options parse\n\n",
5
+ "type": "none",
6
+ "packageName": "@visactor/vtable"
7
+ }
8
+ ],
9
+ "packageName": "@visactor/vtable",
10
+ "email": "892739385@qq.com"
11
+}
packages/vtable-plugins/src/highlight-header-when-select-cell.ts
@@ -25,7 +25,7 @@ export class HighlightHeaderWhenSelectCellPlugin implements pluginsDefinition.IV
25
colHeaderRanges: CellRange[] = [];
26
rowHeaderRanges: CellRange[] = [];
27
constructor(pluginOptions: IHighlightHeaderWhenSelectCellPluginOptions) {
28
- this.id = pluginOptions.id ?? this.id;
+ this.id = pluginOptions?.id ?? this.id;
29
this.pluginOptions = pluginOptions;
30
}
31
run(...args: any[]) {
0 commit comments