jsbox-cview 1.2.4 → 1.2.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.
@@ -50,6 +50,7 @@ export class SymbolButton extends Base<UIButtonView, UiTypes.ButtonOptions> {
50
50
  tintColor: $color("primaryText"),
51
51
  ...props
52
52
  };
53
+ this._layout = layout;
53
54
  this._defineView = () => {
54
55
  return {
55
56
  type: "button",
@@ -76,7 +77,7 @@ export class SymbolButton extends Base<UIButtonView, UiTypes.ButtonOptions> {
76
77
  }
77
78
  }
78
79
  ],
79
- layout,
80
+ layout: this._layout,
80
81
  events
81
82
  };
82
83
  }
@@ -30,6 +30,7 @@ class SymbolButton extends base_1.Base {
30
30
  constructor({ props, layout, events = {} }) {
31
31
  super();
32
32
  this._props = Object.assign({ insets: $insets(12.5, 12.5, 12.5, 12.5), tintColor: $color("primaryText") }, props);
33
+ this._layout = layout;
33
34
  this._defineView = () => {
34
35
  return {
35
36
  type: "button",
@@ -56,7 +57,7 @@ class SymbolButton extends base_1.Base {
56
57
  }
57
58
  }
58
59
  ],
59
- layout,
60
+ layout: this._layout,
60
61
  events
61
62
  };
62
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsbox-cview",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "为 JSBox 设计的微型框架",
5
5
  "repository": {
6
6
  "type": "git",