@worktile/theia 15.1.11 → 15.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12857,7 +12857,6 @@ class TheTableComponent extends TheBaseElementComponent {
|
|
|
12857
12857
|
blockCardElement.classList.add(`slate-block-card-${this.element.type}`);
|
|
12858
12858
|
}
|
|
12859
12859
|
this.tableStore.initEditor(this.editor);
|
|
12860
|
-
this.bindTableScrollingShadow();
|
|
12861
12860
|
this.subscribeCellsChange();
|
|
12862
12861
|
this.subscribeCellPositionChange();
|
|
12863
12862
|
this.listenTableContextMenuEvent();
|
|
@@ -12865,6 +12864,7 @@ class TheTableComponent extends TheBaseElementComponent {
|
|
|
12865
12864
|
this.listenKeydownSelectEvents();
|
|
12866
12865
|
this.listenTableWrapperScroll();
|
|
12867
12866
|
this.getColumnGroups();
|
|
12867
|
+
this.bindTableScrollingShadow();
|
|
12868
12868
|
if (this.element.options?.numberedColumn) {
|
|
12869
12869
|
const loadImageDone = await this.resolveImage();
|
|
12870
12870
|
// 等待序号列表格内图片加载完成后再去渲染表格行高度
|
|
@@ -12906,7 +12906,7 @@ class TheTableComponent extends TheBaseElementComponent {
|
|
|
12906
12906
|
}
|
|
12907
12907
|
getColumnGroups() {
|
|
12908
12908
|
this.columns = calcColumnGroups(this.readonly, this.element, this.elementRef.nativeElement.offsetWidth, this.config.mode);
|
|
12909
|
-
this.
|
|
12909
|
+
this.cdr.detectChanges();
|
|
12910
12910
|
}
|
|
12911
12911
|
/* 给标题行的左/右加阴影 */
|
|
12912
12912
|
setHeaderRowShadow() {
|