diff --git a/apps/web-antd/src/router/routes/modules/dashboard.ts b/apps/web-antd/src/router/routes/modules/dashboard.ts index 0ed61b2..399d88a 100644 --- a/apps/web-antd/src/router/routes/modules/dashboard.ts +++ b/apps/web-antd/src/router/routes/modules/dashboard.ts @@ -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', diff --git a/apps/web-antd/src/views/license/license/index.vue b/apps/web-antd/src/views/license/license/index.vue index f59a8dd..c7f87f3 100644 --- a/apps/web-antd/src/views/license/license/index.vue +++ b/apps/web-antd/src/views/license/license/index.vue @@ -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), },