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