Merge branch 'master' of https://github.com/ciaochaos/qrbtf
This commit is contained in:
commit
feae33dcac
|
@ -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