From 8566117d3ed140fa8720adf9199bdd623d0cf2db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 3 Jul 2018 17:56:18 +0800 Subject: [PATCH] user center support GridContent --- src/routes/Account/Center/Center.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/routes/Account/Center/Center.js b/src/routes/Account/Center/Center.js index 77cebdb6..d8e3d0fb 100644 --- a/src/routes/Account/Center/Center.js +++ b/src/routes/Account/Center/Center.js @@ -3,6 +3,7 @@ import { connect } from 'dva'; import { Link, routerRedux, Route, Switch, Redirect } from 'dva/router'; import { Card, Row, Col, Icon, Avatar, Tag, Divider, Spin, Input } from 'antd'; import { getRoutes } from '../../../utils/utils'; +import GridContent from '../../../layouts/GridContent'; import styles from './Center.less'; @connect(({ list, loading, user, project }) => ({ @@ -122,7 +123,7 @@ export default class Center extends PureComponent { ]; return ( -
+ @@ -221,7 +222,7 @@ export default class Center extends PureComponent { -
+ ); } } -- GitLab