diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js
index 8ce5e66ffda0e2a920bc47f725c82189f88d66bb..f43be9d2401de686e7013533b5df7bab17c5f6ca 100644
--- a/src/components/GlobalHeader/index.js
+++ b/src/components/GlobalHeader/index.js
@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
-import { Layout, Menu, Icon, Spin, Tag, Dropdown, Avatar, Divider } from 'antd';
+import { Menu, Icon, Spin, Tag, Dropdown, Avatar, Divider } from 'antd';
import moment from 'moment';
import groupBy from 'lodash/groupBy';
import Debounce from 'lodash-decorators/debounce';
@@ -8,8 +8,6 @@ import NoticeIcon from '../NoticeIcon';
import HeaderSearch from '../HeaderSearch';
import styles from './index.less';
-const { Header } = Layout;
-
export default class GlobalHeader extends PureComponent {
componentWillUnmount() {
this.triggerResizeEvent.cancel();
@@ -68,7 +66,7 @@ export default class GlobalHeader extends PureComponent {
);
const noticeData = this.getNoticeData();
return (
-
+
{isMobile && (
[
(
@@ -135,7 +133,7 @@ export default class GlobalHeader extends PureComponent {
) : }
-
+
);
}
}
diff --git a/src/components/GlobalHeader/index.less b/src/components/GlobalHeader/index.less
index f1c38bde709b6da4d62abfdcaa9e7c2d3cb5a136..6f885152242e24b977871b8eabcdea7c5eb54db0 100644
--- a/src/components/GlobalHeader/index.less
+++ b/src/components/GlobalHeader/index.less
@@ -1,6 +1,7 @@
@import "~antd/lib/style/themes/default.less";
.header {
+ height: 64px;
padding: 0 12px 0 0;
background: #fff;
box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js
index 584848038c11e6256236c4eed67e6c44bc2f2c89..f8c956a9a33112670bbfb9a1b4c487d437da6b71 100644
--- a/src/layouts/BasicLayout.js
+++ b/src/layouts/BasicLayout.js
@@ -16,7 +16,7 @@ import Authorized from '../utils/Authorized';
import { getMenuData } from '../common/menu';
import logo from '../assets/logo.svg';
-const { Content } = Layout;
+const { Content, Header, Footer } = Layout;
const { AuthorizedRoute } = Authorized;
/**
@@ -164,18 +164,20 @@ class BasicLayout extends React.PureComponent {
onCollapse={this.handleMenuCollapse}
/>
-
+
{
@@ -201,29 +203,31 @@ class BasicLayout extends React.PureComponent {
- ,
- href: 'https://github.com/ant-design/ant-design-pro',
- blankTarget: true,
- }, {
- key: 'Ant Design',
- title: 'Ant Design',
- href: 'http://ant.design',
- blankTarget: true,
- }]}
- copyright={
-
- Copyright 2018 蚂蚁金服体验技术部出品
-
- }
- />
+
);
diff --git a/src/routes/Dashboard/Monitor.js b/src/routes/Dashboard/Monitor.js
index 02b1ff877a61a1b0a5a0eb5d421b373d2d65d8b5..4526f12158b274d47ddbe2b36ff4766f9be5f9f3 100644
--- a/src/routes/Dashboard/Monitor.js
+++ b/src/routes/Dashboard/Monitor.js
@@ -107,7 +107,6 @@ export default class Monitor extends PureComponent {
@@ -147,7 +146,7 @@ export default class Monitor extends PureComponent {
-
+
-
+
-
+
{getFieldDecorator('members', {
initialValue: tableData,
})()}
diff --git a/src/routes/Profile/AdvancedProfile.less b/src/routes/Profile/AdvancedProfile.less
index eb24e15e4abe7f2f0f1b64c6b6282d4c42d869c6..679a57209c4c5fa1371c816bcb99a36e6200ed22 100644
--- a/src/routes/Profile/AdvancedProfile.less
+++ b/src/routes/Profile/AdvancedProfile.less
@@ -5,7 +5,6 @@
}
.tabsCard {
- margin-bottom: 24px;
:global {
.ant-card-head {
padding: 0 16px;