@hw-component/form 1.10.37 → 1.10.38

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.
@@ -49,9 +49,7 @@ var useHForm = (function () {
49
49
  return;
50
50
  }
51
51
  var resultValue = format(value);
52
- if (formatKey !== "inputValue") {
53
- Reflect.deleteProperty(newValue, key);
54
- }
52
+ Reflect.deleteProperty(newValue, key);
55
53
  newValue = _objectSpread(_objectSpread({}, newValue), resultValue);
56
54
  });
57
55
  return newValue;
@@ -72,7 +72,6 @@ var useOptionsRequest = function useOptionsRequest(_ref) {
72
72
  }
73
73
  return params;
74
74
  };
75
- console.log(dispatchManual, "dispatchManual");
76
75
  var _useRequest = useRequest(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
77
76
  var requestParams,
78
77
  type,
@@ -52,9 +52,7 @@ var useHForm = (function () {
52
52
  return;
53
53
  }
54
54
  var resultValue = format(value);
55
- if (formatKey !== "inputValue") {
56
- Reflect.deleteProperty(newValue, key);
57
- }
55
+ Reflect.deleteProperty(newValue, key);
58
56
  newValue = _objectSpread(_objectSpread({}, newValue), resultValue);
59
57
  });
60
58
  return newValue;
@@ -73,7 +73,6 @@ var useOptionsRequest = function useOptionsRequest(_ref) {
73
73
  }
74
74
  return params;
75
75
  };
76
- console.log(dispatchManual, "dispatchManual");
77
76
  var _useRequest = ahooks.useRequest(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
78
77
  var requestParams,
79
78
  type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "1.10.37",
3
+ "version": "1.10.38",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,9 +47,7 @@ export default () => {
47
47
  return;
48
48
  }
49
49
  const resultValue = format(value);
50
- if (formatKey!=="inputValue"){
51
- Reflect.deleteProperty(newValue, key);
52
- }
50
+ Reflect.deleteProperty(newValue, key);
53
51
  newValue = {
54
52
  ...newValue,
55
53
  ...resultValue,
@@ -62,7 +62,6 @@ const useOptionsRequest = ({
62
62
  }
63
63
  return params;
64
64
  };
65
- console.log(dispatchManual,"dispatchManual")
66
65
  const {
67
66
  run: listRun,
68
67
  loading,
@@ -129,14 +129,21 @@ export default () => {
129
129
  end:"timeEnd"
130
130
  }
131
131
  }
132
+ },
133
+ {
134
+ name:'time1',
135
+ label:"time1",
136
+ type:'rangePicker',
137
+ render:()=>{
138
+ return <TestItem/>
139
+ }
132
140
  }
133
141
  ]}
134
142
  dismissOnPressEnter={false}
135
143
  labelWidth={88}
136
144
  form={form}
137
145
  initialValues={{
138
- timeStart:"1748491247",
139
- timeEnd:"1748577647"
146
+ deviceType:1
140
147
  }}
141
148
  labelAlign={"left"}
142
149
  onValuesChange={(val) => {