@ibiz-template/runtime 0.6.1-dev.1 → 0.6.1-dev.2

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/dist/index.esm.js CHANGED
@@ -7375,7 +7375,8 @@ var CodeListService = class {
7375
7375
  tooltip,
7376
7376
  // 代码项数据
7377
7377
  data: codeItem.data ? ScriptFactory.execSingleLine(codeItem.data) : void 0,
7378
- sysImage: codeItem.sysImage
7378
+ sysImage: codeItem.sysImage,
7379
+ userData: codeItem.userData
7379
7380
  };
7380
7381
  if ((_a = codeItem.codeItems) == null ? void 0 : _a.length) {
7381
7382
  _codeItem.children = this.formatStaticItems(
@@ -34064,11 +34065,8 @@ var InternalMessageController = class {
34064
34065
  });
34065
34066
  }
34066
34067
  async markRead(message) {
34067
- if (message.status !== "RECEIVED") {
34068
- return;
34069
- }
34070
34068
  const find = this.messages.find((msg) => msg.id === message.id);
34071
- if (!find) {
34069
+ if (!find || find.status !== "RECEIVED") {
34072
34070
  return;
34073
34071
  }
34074
34072
  await this.service.markRead(message.id);
@@ -34879,7 +34877,7 @@ var MDViewEngine = class extends ViewEngineBase {
34879
34877
  });
34880
34878
  }
34881
34879
  if (!this.view.state.noLoadDefault && model.loadDefault) {
34882
- if (this.searchBar && this.searchBar.hasDefaultSelect && this.xdataControlName === "grid") {
34880
+ if (this.searchBar && this.searchBar.hasDefaultSelect && (this.xdataControlName === "grid" || this.xdataControlName === "treegrid")) {
34883
34881
  this.searchBar.setDefaultSelect();
34884
34882
  } else {
34885
34883
  this.load();