feat(路由): 添加产品列表路由并调整顺序
将产品列表路由添加到路由配置中,并调整其他路由的顺序以优化菜单显示逻辑
This commit is contained in:
parent
f15c0224c3
commit
7dfbc30e94
11
.umirc.ts
11
.umirc.ts
|
|
@ -87,6 +87,11 @@ export default defineConfig({
|
||||||
path: '/product',
|
path: '/product',
|
||||||
access: 'canSeeProduct',
|
access: 'canSeeProduct',
|
||||||
routes: [
|
routes: [
|
||||||
|
{
|
||||||
|
name: '产品列表',
|
||||||
|
path: '/product/list',
|
||||||
|
component: './Product/List',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: '商品分类',
|
name: '商品分类',
|
||||||
path: '/product/category',
|
path: '/product/category',
|
||||||
|
|
@ -102,11 +107,7 @@ export default defineConfig({
|
||||||
path: '/product/flavors',
|
path: '/product/flavors',
|
||||||
component: './Product/Flavors',
|
component: './Product/Flavors',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '产品列表',
|
|
||||||
path: '/product/list',
|
|
||||||
component: './Product/List',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'WP商品列表',
|
name: 'WP商品列表',
|
||||||
path: '/product/wp_list',
|
path: '/product/wp_list',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue