You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 3, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
`const { Form,Cascader,Roe,Col } = antd;
const FormItem = Form.Item;
const options = [{
value: 'zhejiang',
label: 'Zhejiang',
children: [{
value: 'hangzhou',
label: 'Hangzhou',
children: [{
value: 'xihu',
label: 'West Lake',
}],
}],
}, {
value: 'jiangsu',
label: 'Jiangsu',
children: [{
value: 'nanjing',
label: 'Nanjing',
children: [{
value: 'zhonghuamen',
label: 'Zhong Hua men',
}],
}],
}];
class App extends React.Component {
render() {
const {getFieldDecorator}= this.props.form;
return (
{getFieldDecorator('cantonIds', {
})(
)}
}
}
App = Form.create()(App);
ReactDOM.render(, document.getElementById('container'));`
上述为演示代码,
现象:
预期:
The text was updated successfully, but these errors were encountered: