You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
593 B

/**
* 自动生成路由
*/
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
path: '/{{entity}}',
name: '{{table_comment}}模块',
meta: {
icon: 'ic:baseline-view-list',
order: 1000,
keepAlive: true,
title: '{{table_comment}}',
},
children: [
{
meta: {
title: "{{table_comment}}列表",
icon: 'ic:baseline-menu',
},
name: '{{entity}}List',
path: '/{{entity}}',
component: () => import('#/views/{{entity}}/index.vue'),
},
],
}
];