From c5da77240358ac04f0d3ea01bfa350f4a945291d Mon Sep 17 00:00:00 2001 From: "wenbo.dong" Date: Wed, 19 Jul 2017 15:02:51 +0800 Subject: [PATCH] =?UTF-8?q?opti:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../containers/ProjectGroups/ProjectList/ProjectList.scss | 7 +++++++ client/containers/ProjectGroups/ProjectList/index.js | 5 +---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/client/containers/ProjectGroups/ProjectList/ProjectList.scss b/client/containers/ProjectGroups/ProjectList/ProjectList.scss index 68aa3fbe..bd68e65e 100644 --- a/client/containers/ProjectGroups/ProjectList/ProjectList.scss +++ b/client/containers/ProjectGroups/ProjectList/ProjectList.scss @@ -1,3 +1,10 @@ +.m-container{ + background-color: #fff; + padding: 16px 24px; + box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20); + border-radius: 4px; +} + .ant-input-group-wrapper { width: 100%; } diff --git a/client/containers/ProjectGroups/ProjectList/index.js b/client/containers/ProjectGroups/ProjectList/index.js index 387849b5..df065ddf 100644 --- a/client/containers/ProjectGroups/ProjectList/index.js +++ b/client/containers/ProjectGroups/ProjectList/index.js @@ -152,9 +152,6 @@ class ProjectList extends Component { componentWillReceiveProps(nextProps){ // 切换分组 if (this.props.currGroup !== nextProps.currGroup) { - // const param = { - // group_id: nextProps.currGroup._id - // }; this.props.fetchProjectList(nextProps.currGroup._id).then((res) => { if (res.payload.data.errcode) { message.error(res.payload.data.errmsg); @@ -182,7 +179,7 @@ class ProjectList extends Component { render() { const { getFieldDecorator } = this.props.form; return ( -
+