没有下级,不显示
This commit is contained in:
parent
a4a3dd2b5c
commit
703fabf21c
|
@ -251,7 +251,7 @@ export class CityPicker extends React.Component<CityPickerProps, CityPickerState
|
|||
value={districtCode}
|
||||
onChange={this.handleDistrictChange}
|
||||
/>
|
||||
) : allowCity && city[provinceCode] ? (
|
||||
) : allowCity && city[provinceCode] && city[provinceCode].length ? (
|
||||
<Select
|
||||
disabled={disabled}
|
||||
options={city[provinceCode].map(item => ({
|
||||
|
|
Loading…
Reference in New Issue