Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
9a47a75d
Commit
9a47a75d
authored
Mar 23, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加物料组功能
parent
186aaf24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
index.ts
config/routes/index.ts
+19
-3
No files found.
config/routes/index.ts
View file @
9a47a75d
...
...
@@ -26,7 +26,7 @@ import asyncRoutes from '../router.config.json';
// import contracRoute from './contracRoute';
// export const routes = [CommodityRoute, MemberRoute, ShopRoute, ChannelRoute, TranactionRoute, AfterService, PayandSettleRoute, LogisticsRoute, AuthConfigRoute, HandlingRoute, BalaceRoute]
const
isDev
=
fals
e
;
const
isDev
=
tru
e
;
const
homeRoute
=
{
path
:
`/memberCenter/home`
,
name
:
'home'
,
...
...
@@ -34,8 +34,8 @@ const homeRoute = {
key
:
'home'
,
component
:
'@/pages/home'
,
};
// isDev ? [ homeRoute, OrderRoute ] :
const
routes
=
isDev
?
[
homeRoute
,
Order
Route
]
:
asyncRoutes
;
const
routes
=
isDev
?
[
homeRoute
]
:
asyncRoutes
;
// const routes = isDev ? [ Commodity
Route ] : asyncRoutes;
const
memberCenterRoute
=
{
path
:
'/memberCenter'
,
...
...
@@ -45,6 +45,22 @@ const memberCenterRoute = {
path
:
'/memberCenter'
,
redirect
:
'/memberCenter/home'
,
},
{
path
:
'/memberCenter/material'
,
name
:
'物料'
,
routes
:
[
{
path
:
'/memberCenter/material/group'
,
name
:
'物料组'
,
component
:
'@/pages/commodity/material/materialGroup'
,
},
{
path
:
'/memberCenter/material/props'
,
name
:
'物料属性'
,
component
:
'@/pages/commodity/material/materialProps'
}
]
},
// {
// path: '/memberCenter/shopAbility',
// redirect: '/memberCenter/shopAbility/infoManage',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment