Commit 8b03bd0f authored by 陈帅's avatar 陈帅

fix #2027 style warning

parent 4d3fe37a
const generateMock = require('merge-umi-mock-data');
const path = require('path');
console.log(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));
generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));
......@@ -73,7 +73,8 @@ export default class GlobalHeaderRight extends PureComponent {
</Menu.Item>
<Menu.Divider />
<Menu.Item key="logout">
<Icon type="logout" />退出登录
<Icon type="logout" />
退出登录
</Menu.Item>
</Menu>
);
......@@ -154,6 +155,9 @@ export default class GlobalHeaderRight extends PureComponent {
<Button
size="small"
ghost={theme === 'dark'}
style={{
margin: '0 8px',
}}
onClick={() => {
this.changLang();
}}
......
......@@ -33,7 +33,7 @@
}
.logo {
width: 160px;
width: 165px;
height: 64px;
position: relative;
line-height: 64px;
......
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