From 76df380a6c0679b94a247ef2dee93cff5bb7cce9 Mon Sep 17 00:00:00 2001 From: zwjamnsss Date: Fri, 11 Aug 2017 21:10:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A5=E5=8F=A3=E9=9B=86=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Interface/InterfaceCol/InterfaceColContent.js | 15 +++++++++++---- .../Interface/InterfaceCol/InterfaceColMenu.js | 14 ++++++++++---- client/containers/Project/Project.js | 5 ++--- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/client/containers/Project/Interface/InterfaceCol/InterfaceColContent.js b/client/containers/Project/Interface/InterfaceCol/InterfaceColContent.js index 1b92a5c6..b94829d2 100644 --- a/client/containers/Project/Interface/InterfaceCol/InterfaceColContent.js +++ b/client/containers/Project/Interface/InterfaceCol/InterfaceColContent.js @@ -1,4 +1,11 @@ -import React from 'react' -export default () => { - return

hello colContent

-} \ No newline at end of file +import React, { Component } from 'react' + +export default class InterfaceColContent extends Component { + constructor(props) { + super(props) + } + + render() { + return

hello colContent

+ } +} diff --git a/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js b/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js index 1b92a5c6..3b103640 100644 --- a/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js +++ b/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js @@ -1,4 +1,10 @@ -import React from 'react' -export default () => { - return

hello colContent

-} \ No newline at end of file +import React, { Component } from 'react' +export default class InterfaceColMenu extends Component { + constructor(props) { + super(props) + } + + render() { + return

hello colContent

+ } +} diff --git a/client/containers/Project/Project.js b/client/containers/Project/Project.js index 1dd5ded8..afd0962f 100644 --- a/client/containers/Project/Project.js +++ b/client/containers/Project/Project.js @@ -37,11 +37,10 @@ export default class Project extends Component { render () { const { match } = this.props; - console.log('project') return (
- +