Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 25fd8d2b
authored
Oct 21, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop'
2 parents
d58767bb
3f1c5a41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
39 deletions
linkwe-pc/src/router/index.js
linkwe-pc/src/router/index.js
View file @
25fd8d2
...
@@ -30,46 +30,46 @@ import visitor from '@/layout/visitor'
...
@@ -30,46 +30,46 @@ import visitor from '@/layout/visitor'
}
}
*/
*/
// 开发路由,总后台配置完菜单务必删除,只在开发环境生效
// 开发路由,总后台配置完菜单务必删除
或注释
,只在开发环境生效
const
devRoutes
=
[
const
devRoutes
=
[
{
//
{
path
:
'/smartForms'
,
//
path: '/smartForms',
component
:
Layout
,
//
component: Layout,
hidden
:
true
,
//
hidden: true,
meta
:
{
//
meta: {
title
:
'商品中心'
,
//
title: '商品中心',
},
//
},
children
:
[
//
children: [
{
//
{
path
:
'list'
,
//
path: 'list',
component
:
(
resolve
)
=>
require
([
'@/views/drainageCode/smartForms/index'
],
resolve
),
//
component: (resolve) => require(['@/views/drainageCode/smartForms/index'], resolve),
meta
:
{
//
meta: {
title
:
'商品管理'
,
//
title: '商品管理',
activeMenu
:
'/commodityCenter/commodityManage'
,
//
activeMenu: '/commodityCenter/commodityManage',
breadcrumb
:
true
,
//
breadcrumb: true,
},
//
},
},
//
},
{
//
{
path
:
'add'
,
//
path: 'add',
component
:
(
resolve
)
=>
require
([
'@/views/drainageCode/smartForms/add'
],
resolve
),
//
component: (resolve) => require(['@/views/drainageCode/smartForms/add'], resolve),
meta
:
{
//
meta: {
title
:
'商品管理'
,
//
title: '商品管理',
activeMenu
:
'/commodityCenter/commodityManage'
,
//
activeMenu: '/commodityCenter/commodityManage',
breadcrumb
:
true
,
//
breadcrumb: true,
},
//
},
},
//
},
{
//
{
path
:
'smartFormStatistics'
,
//
path: 'smartFormStatistics',
component
:
(
resolve
)
=>
//
component: (resolve) =>
require
([
'@/views/drainageCode/smartForms/statistics/index'
],
resolve
),
//
require(['@/views/drainageCode/smartForms/statistics/index'], resolve),
meta
:
{
//
meta: {
title
:
'商品管理'
,
//
title: '商品管理',
activeMenu
:
'/commodityCenter/commodityManage'
,
//
activeMenu: '/commodityCenter/commodityManage',
breadcrumb
:
true
,
//
breadcrumb: true,
},
//
},
},
//
},
],
//
],
},
//
},
{
{
path
:
'/commodityCenter'
,
path
:
'/commodityCenter'
,
component
:
Layout
,
component
:
Layout
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment