fix(energy): 修复导入弹窗图标引用方式
使用 Iconify class 替代 @ant-design/icons-vue 包导入 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,8 +14,6 @@ import {
|
||||
Upload,
|
||||
message,
|
||||
} from 'ant-design-vue';
|
||||
import { InboxOutlined } from '@ant-design/icons-vue';
|
||||
|
||||
import {
|
||||
importPreview,
|
||||
importConfirm,
|
||||
@@ -199,7 +197,7 @@ defineExpose({ open });
|
||||
:max-count="1"
|
||||
accept=".xlsx,.xls"
|
||||
>
|
||||
<p class="ant-upload-drag-icon"><InboxOutlined /></p>
|
||||
<p class="ant-upload-drag-icon"><span class="icon-[ant-design--inbox-outlined] text-2xl"></span></p>
|
||||
<p class="ant-upload-text">点击或拖拽文件到此区域上传</p>
|
||||
<p class="ant-upload-hint">支持 .xlsx, .xls 格式</p>
|
||||
</Upload.Dragger>
|
||||
|
||||
Reference in New Issue
Block a user