This commit is contained in:
zuiidea
2016-09-10 23:42:56 +08:00
parent da3a989b29
commit 4ec30d9cd7
4 changed files with 78 additions and 20 deletions
+1 -1
View File
@@ -10,6 +10,7 @@ import './utils/index.js'; // 引入各种prototype辅助方法
// 开始引入各种自定义的组件
// import App from './components/App';
import App from './view/index';
import SignIn from './view/user/signIn';
import Welcome from './components/Welcome';
import Error from './components/Error';
import Hello from './components/Hello';
@@ -19,7 +20,6 @@ const routes = (
<Router history={hashHistory}>
<Route path="/" component={App}>
<IndexRoute component={Welcome}/>
<Route path="index">
<Route path="option1" tableName="test" component={DBTable}/>
<Route path="option2" tableName="testSms" component={DBTable}/>