@hw-component/form 1.10.64 → 1.10.65

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.
@@ -48,7 +48,10 @@ var Addon = function Addon(_ref) {
48
48
  return jsx("div", {
49
49
  className: addonClassname,
50
50
  style: style,
51
- children: children
51
+ children: jsxs("div", {
52
+ className: addonChildClassname,
53
+ children: [" ", children]
54
+ })
52
55
  });
53
56
  };
54
57
  var Index = function Index(_ref2) {
@@ -51,7 +51,10 @@ var Addon = function Addon(_ref) {
51
51
  return jsxRuntime.jsx("div", {
52
52
  className: addonClassname,
53
53
  style: style,
54
- children: children
54
+ children: jsxRuntime.jsxs("div", {
55
+ className: addonChildClassname,
56
+ children: [" ", children]
57
+ })
55
58
  });
56
59
  };
57
60
  var Index = function Index(_ref2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "1.10.64",
3
+ "version": "1.10.65",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,7 +49,7 @@ const Addon: React.FC<AddonProps> = ({ children, value, onChange, style }) => {
49
49
  }
50
50
  return (
51
51
  <div className={addonClassname} style={style}>
52
- {children}
52
+ <div className={addonChildClassname}> {children}</div>
53
53
  </div>
54
54
  );
55
55
  };