@worktile/theia 2.5.0 → 2.5.1

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.
@@ -9797,6 +9797,7 @@
9797
9797
  Promise.resolve().then(function () {
9798
9798
  _this.tableStore.emitTableChange();
9799
9799
  _this.useRowControls();
9800
+ _this.cdr.markForCheck();
9800
9801
  });
9801
9802
  this.getIsInTable();
9802
9803
  this.getColControls();
@@ -9814,7 +9815,6 @@
9814
9815
  var _this = this;
9815
9816
  this.ngZone.onStable.pipe(operators.take(1)).subscribe(function () { return __awaiter(_this, void 0, void 0, function () {
9816
9817
  var _a, blockCardElement, loadImageDone;
9817
- var _this = this;
9818
9818
  return __generator(this, function (_c) {
9819
9819
  switch (_c.label) {
9820
9820
  case 0:
@@ -9833,10 +9833,8 @@
9833
9833
  loadImageDone = _c.sent();
9834
9834
  // 等待序号列表格内图片加载完成后再去渲染表格行高度
9835
9835
  if (loadImageDone) {
9836
- setTimeout(function () {
9837
- _this.useRowControls();
9838
- _this.cdr.detectChanges();
9839
- }, 200); // 200ms:通过通知打开页面动画加载时间
9836
+ this.useRowControls();
9837
+ this.cdr.detectChanges();
9840
9838
  }
9841
9839
  return [3 /*break*/, 3];
9842
9840
  case 2: