diff --git a/apps/web-antd/src/router/routes/local.ts b/apps/web-antd/src/router/routes/local.ts index 468cb0e9..9ef8a7b6 100644 --- a/apps/web-antd/src/router/routes/local.ts +++ b/apps/web-antd/src/router/routes/local.ts @@ -24,7 +24,7 @@ const profileRoute: RouteRecordStringComponent[] = [ { component: '/_core/profile/index', meta: { - icon: 'mingcute:profile-line', + icon: 'mingcute:profile-line|offline', keepAlive: true, title: $t('ui.widgets.profile'), }, @@ -48,7 +48,7 @@ const profileRoute: RouteRecordStringComponent[] = [ component: '/system/oss-config/index', meta: { activePath: '/system/oss', - icon: 'mingcute:profile-line', + icon: 'ant-design:setting-outlined|offline', keepAlive: true, title: 'oss配置', }, @@ -57,7 +57,6 @@ const profileRoute: RouteRecordStringComponent[] = [ }, ], }, - // TODO: 图标要改 { component: 'BasicLayout', meta: { @@ -73,7 +72,7 @@ const profileRoute: RouteRecordStringComponent[] = [ component: '/tool/gen/edit-gen', meta: { activePath: '/tool/gen', - icon: 'mingcute:profile-line', + icon: 'tabler:code|offline', keepAlive: true, title: '生成配置', }, @@ -97,7 +96,7 @@ const profileRoute: RouteRecordStringComponent[] = [ component: '/system/role-assign/index', meta: { activePath: '/system/role', - icon: 'mingcute:profile-line', + icon: 'eos-icons:role-binding-outlined|offline', keepAlive: true, title: '分配角色', }, @@ -144,7 +143,7 @@ export const localMenuList: RouteRecordStringComponent[] = [ path: '/vben-admin/document', component: 'IFrameView', meta: { - icon: 'lucide:book-open-text', + icon: 'lucide:book-open-text|offline', iframeSrc: 'https://dapdap.top', keepAlive: true, title: $t('demos.vben.document'), @@ -156,7 +155,7 @@ export const localMenuList: RouteRecordStringComponent[] = [ component: 'BasicLayout', meta: { hideChildrenInMenu: true, - icon: 'lucide:copyright', + icon: 'lucide:copyright|offline', order: 9999, title: $t('demos.vben.about'), }, diff --git a/apps/web-antd/src/router/routes/modules/vben.ts b/apps/web-antd/src/router/routes/modules/vben.ts index 210e8610..f1493889 100644 --- a/apps/web-antd/src/router/routes/modules/vben.ts +++ b/apps/web-antd/src/router/routes/modules/vben.ts @@ -28,7 +28,7 @@ const routes: RouteRecordRaw[] = [ path: '/vben-admin/about', component: () => import('#/views/_core/about/index.vue'), meta: { - icon: 'lucide:copyright', + icon: 'lucide:copyright|offline', title: $t('demos.vben.about'), }, }, @@ -37,7 +37,7 @@ const routes: RouteRecordRaw[] = [ path: '/vben-admin/document', component: IFrameView, meta: { - icon: 'lucide:book-open-text', + icon: 'lucide:book-open-text|offline', link: VBEN_DOC_URL, title: $t('demos.vben.document'), }, diff --git a/apps/web-antd/src/views/_core/authentication/login.vue b/apps/web-antd/src/views/_core/authentication/login.vue index 958442ad..ab849168 100644 --- a/apps/web-antd/src/views/_core/authentication/login.vue +++ b/apps/web-antd/src/views/_core/authentication/login.vue @@ -6,6 +6,7 @@ import { computed, onMounted, ref, useTemplateRef } from 'vue'; import { AuthenticationLogin, z } from '@vben/common-ui'; import { $t } from '@vben/locales'; +import { Modal } from 'ant-design-vue'; import { omit } from 'lodash-es'; import { tenantList, type TenantResp } from '#/api'; @@ -144,6 +145,14 @@ async function handleAccountLogin(values: LoginAndRegisterParams) { } } } + +onMounted(() => { + Modal.info({ + title: '提示', + content: + '离线图标分支需要导入[离线图标.sql] 目录:scripts/菜单图标替换sql/update_icon_离线图标.sql', + }); +});