mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
feat: improve Select component performance (#1472)
This commit is contained in:
@ -320,9 +320,9 @@ class ForgetPage extends React.Component {
|
||||
>
|
||||
{
|
||||
this.state.isFixed ? <Input disabled /> :
|
||||
<Select
|
||||
<Select virtual={false}
|
||||
key={this.state.verifyType}
|
||||
virtual={false} style={{textAlign: "left"}}
|
||||
style={{textAlign: "left"}}
|
||||
defaultValue={this.state.verifyType}
|
||||
disabled={this.state.username === ""}
|
||||
placeholder={i18next.t("forget:Choose email or phone")}
|
||||
|
Reference in New Issue
Block a user