chore: rename

This commit is contained in:
dap 2024-10-22 09:31:01 +08:00
parent f9c6284c35
commit 0d63b6d9ca
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import type { DictData } from '#/api/system/dict/dict-data-model';
import { JsonPreview } from '@vben/common-ui';
import { Icon } from '@vben/icons';
import { IconifyIcon } from '@vben/icons';
import { Tag } from 'ant-design-vue';
@ -66,7 +66,7 @@ export function renderJsonPreview(json: any) {
* @returns render
*/
export function renderIcon(icon: string) {
return <Icon icon={icon}></Icon>;
return <IconifyIcon icon={icon}></IconifyIcon>;
}
// httpMethod

View File

@ -1,5 +1,5 @@
<script setup lang="ts">
import { Icon } from '@vben/icons';
import { IconifyIcon } from '@vben/icons';
import { buildUUID } from '@vben/utils';
import { Input } from 'ant-design-vue';
@ -38,7 +38,7 @@ defineExpose({ refreshSecret });
<template v-if="!disabled" #addonAfter>
<a-button type="primary" @click="refreshSecret">
<div class="flex items-center gap-[4px]">
<Icon icon="charm:refresh" />
<IconifyIcon icon="charm:refresh" />
<span>随机生成</span>
</div>
</a-button>

View File

@ -9,7 +9,7 @@ import {
type LanguageSupport,
useVbenModal,
} from '@vben/common-ui';
import { Icon } from '@vben/icons';
import { IconifyIcon } from '@vben/icons';
import { useClipboard } from '@vueuse/core';
import { Skeleton, Tree } from 'ant-design-vue';
@ -172,7 +172,7 @@ const { copy } = useClipboard({ legacy: true });
>
<template #title="{ title, icon }">
<div class="flex items-center gap-[16px]">
<Icon :icon="icon" />
<IconifyIcon :icon="icon" />
<span>{{ title }}</span>
</div>
</template>