mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-19 04:38:49 +08:00
feat: 统一系统图标渲染方式并优化代码生成预览
- 将操作系统和浏览器图标从自定义组件改为使用 Iconify 类名,简化渲染逻辑 - 在登录信息和在线用户表格中,将操作系统图标与文本并排显示,提升可读性 - 重构代码生成预览功能,将图标配置移至独立文件,提高可维护性 - 更新 GitHub 图标引用,使用 Ant Design Vue 的 GithubOutlined 组件
This commit is contained in:
@@ -5,12 +5,7 @@ import { useRouter } from 'vue-router';
|
||||
import { AuthenticationLoginExpiredModal } from '@vben/common-ui';
|
||||
import { VBEN_DOC_URL, VBEN_GITHUB_URL } from '@vben/constants';
|
||||
import { useWatermark } from '@vben/hooks';
|
||||
import {
|
||||
BookOpenText,
|
||||
CircleHelp,
|
||||
GiteeIcon,
|
||||
GitHubOutlined,
|
||||
} from '@vben/icons';
|
||||
import { BookOpenText, CircleHelp, GiteeIcon } from '@vben/icons';
|
||||
import {
|
||||
BasicLayout,
|
||||
LockScreen,
|
||||
@@ -21,7 +16,7 @@ import { preferences } from '@vben/preferences';
|
||||
import { useAccessStore, useUserStore } from '@vben/stores';
|
||||
import { openWindow } from '@vben/utils';
|
||||
|
||||
import { UserOutlined } from '@ant-design/icons-vue';
|
||||
import { GithubOutlined, UserOutlined } from '@ant-design/icons-vue';
|
||||
|
||||
import { TenantToggle } from '#/components/tenant-toggle';
|
||||
import { $t } from '#/locales';
|
||||
@@ -71,7 +66,7 @@ const menus = computed(() => {
|
||||
target: '_blank',
|
||||
});
|
||||
},
|
||||
icon: GitHubOutlined,
|
||||
icon: GithubOutlined,
|
||||
text: 'Vben官方地址',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user