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