mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-21 15:04:26 +00:00
Update src/components/users/modal.js
<Form horizontal>已弃用,改成<Form layout="horizontal">
This commit is contained in:
@@ -46,7 +46,7 @@ const modal = ({
|
||||
|
||||
return (
|
||||
<Modal {...modalOpts}>
|
||||
<Form horizontal>
|
||||
<Form layout="horizontal">
|
||||
<FormItem label="姓名:" hasFeedback {...formItemLayout}>
|
||||
{getFieldDecorator('name', {
|
||||
initialValue: item.name,
|
||||
|
||||
Reference in New Issue
Block a user