feat: 首页改成动态菜单

This commit is contained in:
caiyuchao
2025-10-09 19:10:04 +08:00
parent 48396e7b60
commit 273bc540d1
2 changed files with 11 additions and 11 deletions

View File

@@ -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',

View File

@@ -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),
},