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

fix #2027 style warning

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