chore: rename
This commit is contained in:
parent
f9c6284c35
commit
0d63b6d9ca
@ -1,7 +1,7 @@
|
|||||||
import type { DictData } from '#/api/system/dict/dict-data-model';
|
import type { DictData } from '#/api/system/dict/dict-data-model';
|
||||||
|
|
||||||
import { JsonPreview } from '@vben/common-ui';
|
import { JsonPreview } from '@vben/common-ui';
|
||||||
import { Icon } from '@vben/icons';
|
import { IconifyIcon } from '@vben/icons';
|
||||||
|
|
||||||
import { Tag } from 'ant-design-vue';
|
import { Tag } from 'ant-design-vue';
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ export function renderJsonPreview(json: any) {
|
|||||||
* @returns render
|
* @returns render
|
||||||
*/
|
*/
|
||||||
export function renderIcon(icon: string) {
|
export function renderIcon(icon: string) {
|
||||||
return <Icon icon={icon}></Icon>;
|
return <IconifyIcon icon={icon}></IconifyIcon>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// httpMethod
|
// httpMethod
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Icon } from '@vben/icons';
|
import { IconifyIcon } from '@vben/icons';
|
||||||
import { buildUUID } from '@vben/utils';
|
import { buildUUID } from '@vben/utils';
|
||||||
|
|
||||||
import { Input } from 'ant-design-vue';
|
import { Input } from 'ant-design-vue';
|
||||||
@ -38,7 +38,7 @@ defineExpose({ refreshSecret });
|
|||||||
<template v-if="!disabled" #addonAfter>
|
<template v-if="!disabled" #addonAfter>
|
||||||
<a-button type="primary" @click="refreshSecret">
|
<a-button type="primary" @click="refreshSecret">
|
||||||
<div class="flex items-center gap-[4px]">
|
<div class="flex items-center gap-[4px]">
|
||||||
<Icon icon="charm:refresh" />
|
<IconifyIcon icon="charm:refresh" />
|
||||||
<span>随机生成</span>
|
<span>随机生成</span>
|
||||||
</div>
|
</div>
|
||||||
</a-button>
|
</a-button>
|
||||||
|
@ -9,7 +9,7 @@ import {
|
|||||||
type LanguageSupport,
|
type LanguageSupport,
|
||||||
useVbenModal,
|
useVbenModal,
|
||||||
} from '@vben/common-ui';
|
} from '@vben/common-ui';
|
||||||
import { Icon } from '@vben/icons';
|
import { IconifyIcon } from '@vben/icons';
|
||||||
|
|
||||||
import { useClipboard } from '@vueuse/core';
|
import { useClipboard } from '@vueuse/core';
|
||||||
import { Skeleton, Tree } from 'ant-design-vue';
|
import { Skeleton, Tree } from 'ant-design-vue';
|
||||||
@ -172,7 +172,7 @@ const { copy } = useClipboard({ legacy: true });
|
|||||||
>
|
>
|
||||||
<template #title="{ title, icon }">
|
<template #title="{ title, icon }">
|
||||||
<div class="flex items-center gap-[16px]">
|
<div class="flex items-center gap-[16px]">
|
||||||
<Icon :icon="icon" />
|
<IconifyIcon :icon="icon" />
|
||||||
<span>{{ title }}</span>
|
<span>{{ title }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user