Commit 9de7523d authored by afc163's avatar afc163 Committed by ι™ˆεΈ…

change function name

parent 72ce7835
...@@ -26,7 +26,7 @@ class SettingDrawer extends PureComponent { ...@@ -26,7 +26,7 @@ class SettingDrawer extends PureComponent {
collapse: false, collapse: false,
}; };
getLayOutSetting = () => { getLayoutSetting = () => {
const { const {
setting: { contentWidth, fixedHeader, layout, autoHideHeader, fixSiderbar }, setting: { contentWidth, fixedHeader, layout, autoHideHeader, fixSiderbar },
} = this.props; } = this.props;
...@@ -182,7 +182,7 @@ class SettingDrawer extends PureComponent { ...@@ -182,7 +182,7 @@ class SettingDrawer extends PureComponent {
<List <List
split={false} split={false}
dataSource={this.getLayOutSetting()} dataSource={this.getLayoutSetting()}
renderItem={item => <List.Item actions={item.action}>{item.title}</List.Item>} renderItem={item => <List.Item actions={item.action}>{item.title}</List.Item>}
/> />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment