mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加表格页面示例
This commit is contained in:
@ -211,6 +211,14 @@ const routeConstMap = new Map<RouteKey, RouteConst>([
|
||||
title: '卡片'
|
||||
}
|
||||
],
|
||||
[
|
||||
'component_table',
|
||||
{
|
||||
name: 'component_table',
|
||||
path: '/component/table',
|
||||
title: '表格'
|
||||
}
|
||||
],
|
||||
[
|
||||
'multi-menu',
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import { BasicLayout } from '@/layouts';
|
||||
import { ComponentButton, ComponentCard } from '@/views';
|
||||
import { ComponentButton, ComponentCard, ComponentTable } from '@/views';
|
||||
import { routeName, routePath, routeTitle } from '../constant';
|
||||
|
||||
const component: RouteRecordRaw = {
|
||||
@ -33,6 +33,16 @@ const component: RouteRecordRaw = {
|
||||
requiresAuth: true,
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: routeName('component_table'),
|
||||
path: routePath('component_table'),
|
||||
component: ComponentTable,
|
||||
meta: {
|
||||
title: routeTitle('component_table'),
|
||||
requiresAuth: true,
|
||||
keepAlive: true
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
Reference in New Issue
Block a user