This commit is contained in:
afc163 2017-02-20 22:11:39 +08:00
parent c28020708f
commit 176b9f9083
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ const App = () => (
<div>
<Pagination defaultCurrent={1} total={50} showSizeChanger />
</div>
};
);
ReactDOM.render(
<LocaleProvider locale={enUS}>

View File

@ -35,7 +35,7 @@ class App extends React.Component {
/>
);
}
});
}
ReactDOM.render(<App />, mountNode);
````

View File

@ -44,7 +44,7 @@ class Sider extends React.Component {
}
this.setState({ openKeys: nextOpenKeys });
}
getAncestorKeys(key) {
getAncestorKeys = (key) => {
const map = {
sub3: ['sub2'],
};

View File

@ -48,5 +48,5 @@ class App extends React.Component {
}
}
ReactDOM.render(<MyProgress />, mountNode);
ReactDOM.render(<App />, mountNode);
````