mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 22:20:01 +08:00
fix: fix bug form country code init error (#1591)
This commit is contained in:
@ -311,7 +311,7 @@ class UserEditPage extends React.Component {
|
||||
<PhoneNumberInput
|
||||
style={{width: "30%"}}
|
||||
// disabled={!Setting.isLocalAdminUser(this.props.account) ? true : disabled}
|
||||
countryCode={this.state.user.countryCode}
|
||||
value={this.state.user.countryCode}
|
||||
onChange={(value) => {
|
||||
this.updateUserField("countryCode", value);
|
||||
}}
|
||||
|
Reference in New Issue
Block a user