|
@@ -2,6 +2,7 @@ import React, { Component } from "react";
|
|
|
import { Route, Switch, Link, withRouter } from "react-router-dom";
|
|
import { Route, Switch, Link, withRouter } from "react-router-dom";
|
|
|
import Overview from "../../components/Overview/overview";
|
|
import Overview from "../../components/Overview/overview";
|
|
|
import indexBasicInfo from "../../components/indexBasicInfo/indexBasicInfo";
|
|
import indexBasicInfo from "../../components/indexBasicInfo/indexBasicInfo";
|
|
|
|
|
+import stocksInfo from '../../components/StocksInfo/stocksInfo'
|
|
|
import stocksApiList from "../../StocksApiList";
|
|
import stocksApiList from "../../StocksApiList";
|
|
|
import indexApiList from "../../IndexApiList";
|
|
import indexApiList from "../../IndexApiList";
|
|
|
import "antd/dist/antd.css";
|
|
import "antd/dist/antd.css";
|
|
@@ -82,7 +83,7 @@ class NavBar extends Component {
|
|
|
<Switch>
|
|
<Switch>
|
|
|
<Route exact path="/" component={Overview} />
|
|
<Route exact path="/" component={Overview} />
|
|
|
<Route path="/overview" component={Overview} />
|
|
<Route path="/overview" component={Overview} />
|
|
|
- <Route path="/stocks" component={indexBasicInfo} />
|
|
|
|
|
|
|
+ <Route path="/stocks" component={stocksInfo} />
|
|
|
<Route path="/indexApi" component={indexBasicInfo} />
|
|
<Route path="/indexApi" component={indexBasicInfo} />
|
|
|
</Switch>
|
|
</Switch>
|
|
|
</Content>
|
|
</Content>
|