mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 02:29:19 +08:00
36 lines
782 B
TypeScript
36 lines
782 B
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
meta: {
|
|
icon: 'lucide:shopping-cart',
|
|
order: 1,
|
|
title: '数据中台',
|
|
},
|
|
name: 'Data',
|
|
path: '/data',
|
|
children: [
|
|
{
|
|
name: 'DataImport',
|
|
path: '/data/import',
|
|
component: () => import('#/views/ecommerce/order-import/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:upload',
|
|
title: '数据导入',
|
|
},
|
|
},
|
|
{
|
|
name: 'DataAnalysis',
|
|
path: '/data/analysis',
|
|
component: () => import('#/views/ecommerce/data-analysis/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:bar-chart-3',
|
|
title: '数据分析',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|