feat(project): align store delivery pages with live APIs and geocode status
This commit is contained in:
36
apps/web-antd/src/router/routes/modules/product.ts
Normal file
36
apps/web-antd/src/router/routes/modules/product.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
/** 文件职责:商品管理模块静态路由。 */
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
meta: {
|
||||
icon: 'lucide:package',
|
||||
order: 20,
|
||||
title: '商品管理',
|
||||
},
|
||||
name: 'Product',
|
||||
path: '/product',
|
||||
children: [
|
||||
{
|
||||
name: 'ProductList',
|
||||
path: '/product/list',
|
||||
component: () => import('#/views/product/list/index.vue'),
|
||||
meta: {
|
||||
icon: 'lucide:list',
|
||||
title: '商品列表',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ProductDetail',
|
||||
path: '/product/detail',
|
||||
component: () => import('#/views/product/detail/index.vue'),
|
||||
meta: {
|
||||
hideInMenu: true,
|
||||
title: '商品详情',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user