@fonixtree/magic-design 1.0.94 → 1.0.96

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.
@@ -158,6 +158,10 @@ function (_super) {
158
158
  _this.onSwitchChange = function (checked, panelInfo) {
159
159
  var _a;
160
160
 
161
+ if (!panelInfo.metaOption) {
162
+ panelInfo.metaOption = {};
163
+ }
164
+
161
165
  panelInfo.metaOption.open = checked;
162
166
 
163
167
  if (checked) {
@@ -97,6 +97,10 @@ function (_super) {
97
97
  };
98
98
 
99
99
  _this.onSwitchChange = function (checked, panelInfo) {
100
+ if (!panelInfo.metaOption) {
101
+ panelInfo.metaOption = {};
102
+ }
103
+
100
104
  panelInfo.metaOption.open = checked;
101
105
 
102
106
  if (checked) {
@@ -158,6 +158,10 @@ function (_super) {
158
158
  _this.onSwitchChange = function (checked, panelInfo) {
159
159
  var _a;
160
160
 
161
+ if (!panelInfo.metaOption) {
162
+ panelInfo.metaOption = {};
163
+ }
164
+
161
165
  panelInfo.metaOption.open = checked;
162
166
 
163
167
  if (checked) {
@@ -97,6 +97,10 @@ function (_super) {
97
97
  };
98
98
 
99
99
  _this.onSwitchChange = function (checked, panelInfo) {
100
+ if (!panelInfo.metaOption) {
101
+ panelInfo.metaOption = {};
102
+ }
103
+
100
104
  panelInfo.metaOption.open = checked;
101
105
 
102
106
  if (checked) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.94",
4
+ "version": "1.0.96",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",