From af46671435486567e03fac32f4918554682c4e4a Mon Sep 17 00:00:00 2001 From: qitmac000249 Date: Tue, 25 Jul 2017 18:08:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1warm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/Application.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/Application.js b/client/Application.js index faaf8053..84790ac5 100644 --- a/client/Application.js +++ b/client/Application.js @@ -1,7 +1,7 @@ import React, { Component } from 'react' import { connect } from 'react-redux' import PropTypes from 'prop-types' -import { Route, HashRouter } from 'react-router-dom' +import { Route, HashRouter, Redirect, Switch } from 'react-router-dom' import { Home, ProjectGroups, Interface, News, AddInterface } from './containers/index' import User from './containers/User/User.js' import Header from './components/Header/Header' @@ -46,9 +46,11 @@ export default class App extends Component {
- - - + {/**/} + + + +