From 6980eef06f715cc751d54127a45630bfc83c03e3 Mon Sep 17 00:00:00 2001 From: "wenbo.dong" Date: Fri, 11 Aug 2017 16:21:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20AddProject=E7=A7=BB=E5=8A=A8=E5=88=B0?= =?UTF-8?q?=E4=B8=8A=E4=B8=80=E5=B1=82=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/containers/{Project => }/AddProject/AddProject.js | 4 ++-- client/containers/{Project => }/AddProject/Addproject.scss | 2 +- client/containers/index.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename client/containers/{Project => }/AddProject/AddProject.js (97%) rename client/containers/{Project => }/AddProject/Addproject.scss (90%) diff --git a/client/containers/Project/AddProject/AddProject.js b/client/containers/AddProject/AddProject.js similarity index 97% rename from client/containers/Project/AddProject/AddProject.js rename to client/containers/AddProject/AddProject.js index 6bf36c5b..672111e6 100644 --- a/client/containers/Project/AddProject/AddProject.js +++ b/client/containers/AddProject/AddProject.js @@ -2,8 +2,8 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Button, Form, Input, Icon, Tooltip, Select, message, Row, Col, Radio } from 'antd'; -import { addProject } from '../../../reducer/modules/project'; -import { fetchGroupList } from '../../../reducer/modules/group.js' +import { addProject } from '../../reducer/modules/project.js'; +import { fetchGroupList } from '../../reducer/modules/group.js' import { autobind } from 'core-decorators'; const { TextArea } = Input; const FormItem = Form.Item; diff --git a/client/containers/Project/AddProject/Addproject.scss b/client/containers/AddProject/Addproject.scss similarity index 90% rename from client/containers/Project/AddProject/Addproject.scss rename to client/containers/AddProject/Addproject.scss index cf805cb7..0b3ede2a 100644 --- a/client/containers/Project/AddProject/Addproject.scss +++ b/client/containers/AddProject/Addproject.scss @@ -1,4 +1,4 @@ -@import '../../../styles/common.scss'; +@import '../../styles/common.scss'; .m-container { margin: .24rem auto !important; diff --git a/client/containers/index.js b/client/containers/index.js index 1b9f7fe0..ab3a6fa0 100644 --- a/client/containers/index.js +++ b/client/containers/index.js @@ -8,7 +8,7 @@ import News from './News/News.js' import AddInterface from './AddInterface/AddInterface.js' import DevTools from './DevTools/DevTools.js' import Follows from './Follows/Follows.js' -import AddProject from './Project/AddProject/AddProject.js' +import AddProject from './AddProject/AddProject.js' export { Header,