@zgfe/business-lib 1.2.55-ljy.1 → 1.2.55-ljy.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.
@@ -20,7 +20,7 @@ var StyleList = function StyleList(props) {
20
20
  return /*#__PURE__*/React.createElement("div", {
21
21
  className: "".concat(classPrefix, "-drop")
22
22
  }, /*#__PURE__*/React.createElement(Radio.Group, {
23
- value: tab && tab[1]
23
+ value: tab && tab[0]
24
24
  }, /*#__PURE__*/React.createElement(Space, null, (_data$children = data.children) === null || _data$children === void 0 ? void 0 : _data$children.map(function (item) {
25
25
  return /*#__PURE__*/React.createElement(Radio, {
26
26
  key: item.value,
@@ -36,7 +36,7 @@ var StyleList = function StyleList(props) {
36
36
  }))));
37
37
  };
38
38
  var onChange = function onChange(data, child) {
39
- setTab([data.value, child.value]);
39
+ setTab([child.value, data.value]);
40
40
  props.onChange && props.onChange("".concat(child.value, ",").concat(data.value));
41
41
  };
42
42
  var _onClick = function onClick(data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.55-ljy.1",
3
+ "version": "1.2.55-ljy.2",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -55,7 +55,7 @@
55
55
  "react": "^16.12.0 || ^17.0.0",
56
56
  "yorkie": "^2.0.0"
57
57
  },
58
- "gitHead": "9f5e532faca40e28c8aa2a1f6302db85ea9ba3a2",
58
+ "gitHead": "16a7e43ce6281a248fab14d8dd3cff70ed0f9362",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }