Commit aac3cb5a authored by Gavin Peng's avatar Gavin Peng

fix: 修复bug

parent 8d6f1392
......@@ -18,9 +18,6 @@ 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
......@@ -29,7 +26,7 @@ import ProcurementRoute from './procurementRoute'; // todo wuting
// import contracRoute from './contracRoute';
// export const routes = [CommodityRoute, MemberRoute, ShopRoute, ChannelRoute, TranactionRoute, AfterService, PayandSettleRoute, LogisticsRoute, AuthConfigRoute, HandlingRoute, BalaceRoute]
const isDev = !false;
const isDev = false;
const homeRoute = {
path: `/memberCenter/home`,
name: 'home',
......@@ -39,7 +36,7 @@ const homeRoute = {
};
// isDev ? [ homeRoute, OrderRoute ] :
// const routes = asyncRoutes;
const routes = isDev ? [homeRoute, OrderRoute, supplierRoute, memberRoute] : asyncRoutes;
const routes = isDev ? [ homeRoute, OrderRoute ] : asyncRoutes;
const memberCenterRoute = {
path: '/memberCenter',
......
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