优化:优化菜单配置

1. 调整菜单排序
2. 优化部分菜单图标
3. 新增菜单栏手风琴配置,默认生效
This commit is contained in:
2023-02-14 23:37:56 +08:00
parent 148a98371f
commit 302f0ea573
101 changed files with 126 additions and 107 deletions

View File

@@ -0,0 +1,38 @@
import { DEFAULT_LAYOUT } from '../../base';
import { AppRouteRecordRaw } from '../../types';
const LIST: AppRouteRecordRaw = {
path: '/list',
name: 'list',
component: DEFAULT_LAYOUT,
meta: {
locale: 'menu.list',
requiresAuth: true,
icon: 'icon-list',
order: 100,
},
children: [
{
path: 'search-table', // The midline path complies with SEO specifications
name: 'SearchTable',
component: () => import('@/views/arco-design/list/search-table/index.vue'),
meta: {
locale: 'menu.list.searchTable',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'card',
name: 'Card',
component: () => import('@/views/arco-design/list/card/index.vue'),
meta: {
locale: 'menu.list.cardList',
requiresAuth: true,
roles: ['*'],
},
},
],
};
export default LIST;