@hw-component/form 0.0.2-beta-v7 → 0.0.2-beta-v9

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.
@@ -19,15 +19,12 @@ var UpFormItem = (function (_ref) {
19
19
  });
20
20
  return /*#__PURE__*/React.createElement(Item, {
21
21
  shouldUpdate: resultShouldUpdate,
22
- dependencies: dependencies
22
+ dependencies: dependencies,
23
+ noStyle: true
23
24
  }, function () {
24
25
  return /*#__PURE__*/React.createElement(Index, _extends({
25
26
  hide: hide
26
- }, props, {
27
- wrapperCol: {
28
- span: 24
29
- }
30
- }));
27
+ }, props));
31
28
  });
32
29
  });
33
30
 
@@ -22,15 +22,12 @@ var UpFormItem = (function (_ref) {
22
22
  });
23
23
  return /*#__PURE__*/React.createElement(Item, {
24
24
  shouldUpdate: resultShouldUpdate,
25
- dependencies: dependencies
25
+ dependencies: dependencies,
26
+ noStyle: true
26
27
  }, function () {
27
28
  return /*#__PURE__*/React.createElement(BasicItem.default, _extends({
28
29
  hide: hide
29
- }, props, {
30
- wrapperCol: {
31
- span: 24
32
- }
33
- }));
30
+ }, props));
34
31
  });
35
32
  });
36
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "0.0.2-beta-v7",
3
+ "version": "0.0.2-beta-v9",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,9 +11,9 @@ export default ({
11
11
  }: FormItemWithRender) => {
12
12
  const resultShouldUpdate = useShouldUpdate({ shouldUpdate, hide });
13
13
  return (
14
- <Item shouldUpdate={resultShouldUpdate} dependencies={dependencies}>
14
+ <Item shouldUpdate={resultShouldUpdate} dependencies={dependencies} noStyle>
15
15
  {() => {
16
- return <BasicItem hide={hide} {...props} wrapperCol={{span:24}}/>;
16
+ return <BasicItem hide={hide} {...props}/>;
17
17
  }}
18
18
  </Item>
19
19
  );