mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-06 01:51:26 +08:00
refactor(icons): 迁移部分图标到 @ant-design/icons-vue 并移除未使用的离线图标
移除 @vben/icons 中的 UserOutlined、InBoxIcon、ExcelIcon 等图标,改用 @ant-design/icons-vue 提供的对应组件。 删除 packages/icons 中未使用的离线图标定义,包括 TaobaoIcon、AlipayIcon、GithubOAuthIcon 等。 在 apps/web-antd/src/views/_core/ 新增 oauth-common.tsx 文件,集中管理 OAuth 绑定相关逻辑与数据。
This commit is contained in:
@@ -4,8 +4,8 @@ import type { UploadFile } from 'antdv-next';
|
||||
import { h, ref, unref } from 'vue';
|
||||
|
||||
import { useVbenModal } from '@vben/common-ui';
|
||||
import { ExcelIcon, InBoxIcon } from '@vben/icons';
|
||||
|
||||
import { InboxOutlined } from '@ant-design/icons-vue';
|
||||
import { Switch, Upload } from 'antdv-next';
|
||||
|
||||
import { downloadImportTemplate, userImportData } from '#/api/system/user';
|
||||
@@ -80,7 +80,7 @@ function handleCancel() {
|
||||
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
||||
>
|
||||
<p class="ant-upload-drag-icon flex items-center justify-center">
|
||||
<InBoxIcon class="size-[48px] text-primary" />
|
||||
<InboxOutlined class="size-[48px] text-primary" />
|
||||
</p>
|
||||
<p class="ant-upload-text">点击或者拖拽到此处上传文件</p>
|
||||
</UploadDragger>
|
||||
@@ -92,7 +92,7 @@ function handleCancel() {
|
||||
@click="commonDownloadExcel(downloadImportTemplate, '用户导入模板')"
|
||||
>
|
||||
<div class="flex items-center gap-[4px]">
|
||||
<ExcelIcon />
|
||||
<span class="icon-[vscode-icons--file-type-excel]"></span>
|
||||
<span>下载模板</span>
|
||||
</div>
|
||||
</a-button>
|
||||
|
||||
Reference in New Issue
Block a user