@ibiz-template/runtime 0.5.4 → 0.5.5

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.
@@ -106,7 +106,7 @@ export class MDViewEngine extends ViewEngineBase {
106
106
  // 默认加载
107
107
  if (!this.view.state.noLoadDefault &&
108
108
  model.loadDefault &&
109
- !this.searchBar.hasDefaultSelect) {
109
+ (!this.searchBar || !this.searchBar.hasDefaultSelect)) {
110
110
  this.load();
111
111
  }
112
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/runtime",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "控制器包",
5
5
  "type": "module",
6
6
  "main": "out/index.js",
@@ -59,5 +59,5 @@
59
59
  "qx-util": "^0.4.8",
60
60
  "ramda": "^0.29.0"
61
61
  },
62
- "gitHead": "627ad2605158cf11f72c589e6bf239467f2f90eb"
62
+ "gitHead": "d576ffdb2391399e913e71473a2e54eb4d6c0791"
63
63
  }
@@ -142,7 +142,7 @@ export class MDViewEngine extends ViewEngineBase {
142
142
  if (
143
143
  !this.view.state.noLoadDefault &&
144
144
  model.loadDefault &&
145
- !this.searchBar.hasDefaultSelect
145
+ (!this.searchBar || !this.searchBar.hasDefaultSelect)
146
146
  ) {
147
147
  this.load();
148
148
  }