Commit c6cc8ddd authored by 张烨's avatar 张烨

perf: 去掉控制台警告

parent 16e709a3
...@@ -62,7 +62,7 @@ const RequestTest = () => { ...@@ -62,7 +62,7 @@ const RequestTest = () => {
}; };
const paramItemLayout = { const paramItemLayout = {
labebCol: { span: 8 }, labelCol: { span: 8 },
wrapperCol: { span: 24 }, wrapperCol: { span: 24 },
}; };
...@@ -94,8 +94,8 @@ const RequestTest = () => { ...@@ -94,8 +94,8 @@ const RequestTest = () => {
{(fields, { add, remove }) => ( {(fields, { add, remove }) => (
<> <>
{fields.map(field => ( {fields.map(field => (
<Col span={14} offset={5}> <Col span={14} offset={5} key={field.key}>
<Space key={field.key} align="start"> <Space align="start">
<Form.Item <Form.Item
{...field} {...field}
label="key" label="key"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment