feat: 首页改成动态菜单
This commit is contained in:
@@ -33,16 +33,16 @@ const routes: RouteRecordRaw[] = [
|
|||||||
// },
|
// },
|
||||||
// ],
|
// ],
|
||||||
// },
|
// },
|
||||||
{
|
// {
|
||||||
name: 'Dashboard',
|
// name: 'Dashboard',
|
||||||
path: '/dashboard',
|
// path: '/dashboard',
|
||||||
component: () => import('#/views/dashboard/index.vue'),
|
// component: () => import('#/views/dashboard/index.vue'),
|
||||||
meta: {
|
// meta: {
|
||||||
icon: 'ion:home-outline',
|
// icon: 'ion:home-outline',
|
||||||
title: $t('page.dashboard.title'),
|
// title: $t('page.dashboard.title'),
|
||||||
order: -1,
|
// order: -1,
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
name: 'Profile',
|
name: 'Profile',
|
||||||
path: '/profile',
|
path: '/profile',
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
{
|
{
|
||||||
label: $t('license.history'),
|
label: $t('license.history'),
|
||||||
type: 'link',
|
type: 'link',
|
||||||
ifShow: row.hasHistory,
|
ifShow: row.applyCount && row.applyCount > 1,
|
||||||
auth: ['license:license:query'],
|
auth: ['license:license:query'],
|
||||||
onClick: onHistory.bind(null, row),
|
onClick: onHistory.bind(null, row),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user