mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-10 00:03:14 +08:00
refactor(web-antd): 替换图标组件为unocss内联图标
将 IconifyIcon 组件替换为 UnoCSS 的内联图标类,以简化依赖并提升性能
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { IconifyIcon } from '@vben/icons';
|
|
||||||
import { buildUUID } from '@vben/utils';
|
import { buildUUID } from '@vben/utils';
|
||||||
|
|
||||||
import { Input, SpaceCompact } from 'antdv-next';
|
import { Input, SpaceCompact } from 'antdv-next';
|
||||||
@@ -35,7 +34,7 @@ defineExpose({ refreshSecret });
|
|||||||
/>
|
/>
|
||||||
<a-button v-if="!disabled" type="primary" @click="refreshSecret">
|
<a-button v-if="!disabled" type="primary" @click="refreshSecret">
|
||||||
<div class="flex items-center gap-[4px]">
|
<div class="flex items-center gap-[4px]">
|
||||||
<IconifyIcon icon="charm:refresh" />
|
<span class="icon-[charm--refresh]"></span>
|
||||||
<span>随机生成</span>
|
<span>随机生成</span>
|
||||||
</div>
|
</div>
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user