@fonixtree/magic-design 1.0.94 → 1.0.95

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.
@@ -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) {
@@ -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.95",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",