@hw-component/form 1.7.5 → 1.7.6

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.
@@ -96,7 +96,6 @@ var Index = function Index(props) {
96
96
  if (hideItem) {
97
97
  return null;
98
98
  }
99
- console.log(colon, align, "lllll", className);
100
99
  return jsx(Col, _objectSpread(_objectSpread({}, itemSpan), {}, {
101
100
  className: "".concat(colClassName, " ").concat(itemClassName),
102
101
  children: jsx(Form.Item, _objectSpread(_objectSpread({
@@ -16,7 +16,6 @@ var RegularFormItem = (function (props) {
16
16
  var type = props.type,
17
17
  colon = props.colon,
18
18
  itemSpan = props.itemSpan;
19
- console.log(props, "....pppp");
20
19
  return jsx(Index, _objectSpread(_objectSpread({}, props), {}, {
21
20
  itemSpan: itemSpan,
22
21
  colon: type === "submit" ? false : colon
@@ -120,7 +120,6 @@ var useRangePickerTimeVal = function useRangePickerTimeVal(_ref8) {
120
120
  var start = valueMap.start,
121
121
  end = valueMap.end;
122
122
  if (!start || !end) {
123
- console.error("日期value格式错误!");
124
123
  return;
125
124
  }
126
125
  var startTime = value[start],
@@ -99,7 +99,6 @@ var Index = function Index(props) {
99
99
  if (hideItem) {
100
100
  return null;
101
101
  }
102
- console.log(colon, align, "lllll", className);
103
102
  return jsxRuntime.jsx(antd.Col, _objectSpread(_objectSpread({}, itemSpan), {}, {
104
103
  className: "".concat(colClassName, " ").concat(itemClassName),
105
104
  children: jsxRuntime.jsx(antd.Form.Item, _objectSpread(_objectSpread({
@@ -19,7 +19,6 @@ var RegularFormItem = (function (props) {
19
19
  var type = props.type,
20
20
  colon = props.colon,
21
21
  itemSpan = props.itemSpan;
22
- console.log(props, "....pppp");
23
22
  return jsxRuntime.jsx(BasicItem.default, _objectSpread(_objectSpread({}, props), {}, {
24
23
  itemSpan: itemSpan,
25
24
  colon: type === "submit" ? false : colon
@@ -121,7 +121,6 @@ var useRangePickerTimeVal = function useRangePickerTimeVal(_ref8) {
121
121
  var start = valueMap.start,
122
122
  end = valueMap.end;
123
123
  if (!start || !end) {
124
- console.error("日期value格式错误!");
125
124
  return;
126
125
  }
127
126
  var startTime = value[start],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -71,7 +71,6 @@ const Index: React.FC<HFormItemProps> = (props) => {
71
71
  if (hideItem) {
72
72
  return null;
73
73
  }
74
- console.log(colon,align,"lllll",className)
75
74
  return (
76
75
  <Col {...itemSpan} className={`${colClassName} ${itemClassName}`}>
77
76
  <Form.Item
@@ -3,7 +3,6 @@ import type { HItemProps } from "../modal";
3
3
 
4
4
  export default (props: HItemProps) => {
5
5
  const { type, colon, itemSpan } = props;
6
- console.log(props,"....pppp")
7
6
  return (
8
7
  <BasicItem
9
8
  {...props}
@@ -151,7 +151,6 @@ export const useRangePickerTimeVal = ({
151
151
  if (!Array.isArray(value)) {
152
152
  const { start, end } = valueMap;
153
153
  if (!start || !end) {
154
- console.error("日期value格式错误!");
155
154
  return;
156
155
  }
157
156
  const { [start as string]: startTime, [end as string]: endTime } = value;