@flexem/fc-gui 3.0.0-alpha.56 → 3.0.0-alpha.57

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.
package/CHANGELOG.md CHANGED
@@ -226,3 +226,8 @@
226
226
  ### Web端
227
227
  #### Features
228
228
  1. FLEXCLOUD-2391【Web端】组态写值:变量(监控点)“只写”情况下,写值提示超时
229
+
230
+ ## 3.0.0-alpha.57(2023-01-04)
231
+ ### Web端
232
+ #### Features
233
+ 1. FLEXCLOUD-2403模板中设置网页端启动画面后,刷新后运营仪表盘、 设备仪表盘不应展示原有的启动画面
@@ -41064,12 +41064,15 @@ let gui_component_GuiComponent = class GuiComponent {
41064
41064
  this.globalSettings.displayMode = this.isMobileMode ? settings["a" /* DisplayMode */].Mobile : settings["a" /* DisplayMode */].Web;
41065
41065
  }
41066
41066
  refreshCurrentPage() {
41067
- const viewIndex = this.host.currentViewIndex || 0;
41067
+ if (this.host.currentViewIndex === undefined) {
41068
+ this.onProviderChanged(null, this.host.context);
41069
+ return;
41070
+ }
41068
41071
  const toggleView = this.viewService.toggleViews.get(this.el);
41069
41072
  if (!toggleView) {
41070
41073
  return;
41071
41074
  }
41072
- toggleView(viewIndex, this.hostContainerId, this.el).subscribe();
41075
+ toggleView(this.host.currentViewIndex, this.hostContainerId, this.el).subscribe();
41073
41076
  }
41074
41077
  };
41075
41078
  __decorate([