Skip to content

Commit

Permalink
Fix: component state property never read
Browse files Browse the repository at this point in the history
Signed-off-by: barnettZQG <[email protected]>
  • Loading branch information
barnettZQG committed Oct 29, 2022
1 parent c4245e6 commit 35fccb0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class EditPlatFormUserDialog extends Component<Props, State> {

render() {
const init = this.field.init;
const { isLoading } = this.state;
const { Row, Col } = Grid;
const FormItem = Form.Item;
const formItemLayout = {
Expand All @@ -92,7 +93,7 @@ class EditPlatFormUserDialog extends Component<Props, State> {
locale={locale().Dialog}
footerActions={['ok']}
>
<Form {...formItemLayout} field={this.field}>
<Form loading={isLoading} {...formItemLayout} field={this.field}>
<Row>
<Col span={24} style={{ padding: '0 8px' }}>
<FormItem label={<Translation>Password</Translation>} required>
Expand Down

0 comments on commit 35fccb0

Please sign in to comment.