Commit 10c8ada5 authored by sh's avatar sh

配置路由文件-供应商管理

parent 9b247475
......@@ -18,6 +18,9 @@ import TranactionRoute from './tranactionRoute' // 交易能力路由
// import marketingRoute from './marketingRoute';
// import BalancedRoute from './balanceRoute';
import OrderRoute from './orderRoute'; // 订单能力
import supplierRoute from './supplierRoute'; // 供应商能力
import memberRoute from './memberRoute'; // 会员中心
import asyncRoutes from '../router.config.json';
import ProcurementRoute from './procurementRoute'; // todo wuting
......@@ -36,7 +39,7 @@ const homeRoute = {
};
// isDev ? [ homeRoute, OrderRoute ] :
// const routes = asyncRoutes;
const routes = isDev ? [ homeRoute, OrderRoute ] : asyncRoutes;
const routes = isDev ? [homeRoute, OrderRoute, supplierRoute, memberRoute] : asyncRoutes;
const memberCenterRoute = {
path: '/memberCenter',
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment