feat(projects): 添加表格页面示例

This commit is contained in:
Soybean
2021-12-12 21:43:26 +08:00
parent 230a50a4cf
commit 51c744c8e2
8 changed files with 123 additions and 11 deletions

View File

@ -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
}
}
]
};