mirror of
https://github.com/continew-org/continew-admin.git
synced 2026-01-02 18:57:22 +08:00
feat: 新增系统工具模块(存放系统工具模块相关功能,例如:代码生成、文件管理等)
This commit is contained in:
@@ -9,7 +9,7 @@ const Monitor: AppRouteRecordRaw = {
|
||||
locale: 'menu.monitor',
|
||||
icon: 'computer',
|
||||
requiresAuth: true,
|
||||
order: 2,
|
||||
order: 3,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
28
continew-admin-ui/src/router/routes/modules/tool.ts
Normal file
28
continew-admin-ui/src/router/routes/modules/tool.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { DEFAULT_LAYOUT } from '../base';
|
||||
import { AppRouteRecordRaw } from '../types';
|
||||
|
||||
const Tool: AppRouteRecordRaw = {
|
||||
path: '/tool',
|
||||
name: 'tool',
|
||||
component: DEFAULT_LAYOUT,
|
||||
meta: {
|
||||
locale: 'menu.tool',
|
||||
icon: 'tool',
|
||||
requiresAuth: true,
|
||||
order: 2,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '/tool/generator',
|
||||
name: 'Generator',
|
||||
component: () => import('@/views/tool/generator/index.vue'),
|
||||
meta: {
|
||||
locale: 'menu.tool.generator.list',
|
||||
requiresAuth: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default Tool;
|
||||
Reference in New Issue
Block a user