[Correct level adjustment]
This commit is contained in:
parent
770d0d633c
commit
d7a99b7683
|
@ -222,9 +222,8 @@ class Qrcode extends React.Component {
|
||||||
<select
|
<select
|
||||||
className="Qr-select"
|
className="Qr-select"
|
||||||
value={this.state.correctLevel}
|
value={this.state.correctLevel}
|
||||||
onChange={(e) => { this.setState({correctLevel: parseInt(e.target.value)})
|
onChange={(e) => {
|
||||||
this.setState({correctLevel: parseInt(e.target.value)})
|
this.setState({correctLevel: parseInt(e.target.value)}, () => this.handleCreate())
|
||||||
this.handleCreate()
|
|
||||||
}}>
|
}}>
|
||||||
<option value={1}>7%</option>
|
<option value={1}>7%</option>
|
||||||
<option value={0}>15%</option>
|
<option value={0}>15%</option>
|
||||||
|
|
Loading…
Reference in New Issue