mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-11 19:23:41 +08:00
feat(projects): 添加表格页面示例
This commit is contained in:
@@ -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