@hw-component/form 1.10.70 → 1.10.71
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.
package/es/Form/index.js
CHANGED
|
@@ -27,7 +27,8 @@ var HForm = (function (_ref) {
|
|
|
27
27
|
formHideLabel = _ref$hideLabel === void 0 ? false : _ref$hideLabel,
|
|
28
28
|
gutter = _ref.gutter,
|
|
29
29
|
submitLoading = _ref.submitLoading,
|
|
30
|
-
|
|
30
|
+
_ref$labelAlign = _ref.labelAlign,
|
|
31
|
+
formLabelAlign = _ref$labelAlign === void 0 ? "right" : _ref$labelAlign,
|
|
31
32
|
formItemStyle = _ref.formItemStyle,
|
|
32
33
|
_ref$itemProps = _ref.itemProps,
|
|
33
34
|
formItemProps = _ref$itemProps === void 0 ? {} : _ref$itemProps,
|
package/lib/Form/index.js
CHANGED
|
@@ -30,7 +30,8 @@ var HForm = (function (_ref) {
|
|
|
30
30
|
formHideLabel = _ref$hideLabel === void 0 ? false : _ref$hideLabel,
|
|
31
31
|
gutter = _ref.gutter,
|
|
32
32
|
submitLoading = _ref.submitLoading,
|
|
33
|
-
|
|
33
|
+
_ref$labelAlign = _ref.labelAlign,
|
|
34
|
+
formLabelAlign = _ref$labelAlign === void 0 ? "right" : _ref$labelAlign,
|
|
34
35
|
formItemStyle = _ref.formItemStyle,
|
|
35
36
|
_ref$itemProps = _ref.itemProps,
|
|
36
37
|
formItemProps = _ref$itemProps === void 0 ? {} : _ref$itemProps,
|
package/package.json
CHANGED
package/src/pages/Form/index.tsx
CHANGED
|
@@ -161,8 +161,9 @@ export default () => {
|
|
|
161
161
|
// },
|
|
162
162
|
{
|
|
163
163
|
name: "num",
|
|
164
|
-
label: "
|
|
164
|
+
label: "你好啊",
|
|
165
165
|
type: "rangePicker",
|
|
166
|
+
hover:"123123213",
|
|
166
167
|
itemProps: {
|
|
167
168
|
valueMap: {
|
|
168
169
|
start: "start",
|
|
@@ -171,7 +172,7 @@ export default () => {
|
|
|
171
172
|
},
|
|
172
173
|
},
|
|
173
174
|
{
|
|
174
|
-
name: "
|
|
175
|
+
name: ["order","name"],
|
|
175
176
|
label: "time",
|
|
176
177
|
type: "select",
|
|
177
178
|
itemProps: {
|
|
@@ -189,7 +190,6 @@ export default () => {
|
|
|
189
190
|
},
|
|
190
191
|
]}
|
|
191
192
|
dismissOnPressEnter={false}
|
|
192
|
-
labelWidth={88}
|
|
193
193
|
form={form}
|
|
194
194
|
initialValues={{
|
|
195
195
|
deviceType: 1,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "../../components";
|
|
7
7
|
|
|
8
8
|
const data = [
|
|
9
|
-
{ label: "name", name: "name" },
|
|
9
|
+
{ label: "name", name: "name" ,hover:"1312"},
|
|
10
10
|
|
|
11
11
|
{
|
|
12
12
|
label: "输入框",
|
|
@@ -61,11 +61,6 @@ export default () => {
|
|
|
61
61
|
marginBottom: 100,
|
|
62
62
|
}}
|
|
63
63
|
labelAlign={"left"}
|
|
64
|
-
labelWidth={100}
|
|
65
|
-
contentRender={(node, form, params) => {
|
|
66
|
-
console.log(params);
|
|
67
|
-
return <div></div>;
|
|
68
|
-
}}
|
|
69
64
|
dialogForm={modalForm}
|
|
70
65
|
title="你好"
|
|
71
66
|
/>
|