mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
update select demo
This commit is contained in:
parent
dc1455ecc4
commit
d79562075a
@ -43,10 +43,10 @@ const App = React.createClass({
|
||||
return <Option key={city}>{city}</Option>;
|
||||
});
|
||||
return <div>
|
||||
<Select defaultValue={provinceData[0]} style={{width:150}} onChange={this.handleProvinceChange}>
|
||||
<Select defaultValue={provinceData[0]} style={{width: 90}} onChange={this.handleProvinceChange}>
|
||||
{provinceOptions}
|
||||
</Select>
|
||||
<Select value={this.state.secondCity} style={{width:150}} onChange={this.onSecondCityChange}>
|
||||
<Select value={this.state.secondCity} style={{width: 90}} onChange={this.onSecondCityChange}>
|
||||
{cityOptions}
|
||||
</Select>
|
||||
</div>;
|
||||
|
Loading…
Reference in New Issue
Block a user