|
|
@@ -23,6 +23,9 @@ import axios from 'axios';
|
|
|
import {getCookie} from "../cookie";
|
|
|
import Schema from "../common/schema/Schema";
|
|
|
|
|
|
+//引入案例
|
|
|
+import ShopApp from '../../case/shopApp/src/App'
|
|
|
+
|
|
|
axios.defaults.withCredentials = true;
|
|
|
|
|
|
const {SubMenu} = Menu;
|
|
|
@@ -302,6 +305,7 @@ class App extends Component {
|
|
|
key={locale ? locale.locale : 'en'/* Have to refresh for production environment */}>
|
|
|
<Switch>
|
|
|
<Route path="/" exact component={TrialCase}/>
|
|
|
+ <Route path="/ShopApp" component={ShopApp}/>
|
|
|
<Route path="/graphql-service/:sidebar/:case" component={TrialCase}/>
|
|
|
<Route path="/wechat-service/:sidebar/:case" component={WechatService}/>
|
|
|
<Route path="/quant-service/" component={QuantService}/>
|