mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-18 04:32:01 +08:00
refactor(icons): 将缓存监控页面的图标替换为内联iconify离线图标
移除从@vben/icons导入的RedisIcon、CommandLineIcon和MemoryIcon组件, 改为使用内联的iconify离线图标类名。同时清理packages/icons中不再使用的图标导出, 以保持图标库的简洁性。
This commit is contained in:
@@ -4,7 +4,6 @@ import type { RedisInfo } from '#/api/monitor/cache';
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
|
||||
import { Page } from '@vben/common-ui';
|
||||
import { CommandLineIcon, MemoryIcon, RedisIcon } from '@vben/icons';
|
||||
|
||||
import { Button, Card } from 'antdv-next';
|
||||
|
||||
@@ -57,7 +56,7 @@ async function loadInfo() {
|
||||
<Card class="lg:col-span-2" size="small">
|
||||
<template #title>
|
||||
<div class="flex items-center justify-start gap-[6px]">
|
||||
<RedisIcon class="size-[16px]" />
|
||||
<span class="icon-[skill-icons--redis-light] size-[16px]"></span>
|
||||
<span>redis信息</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -74,7 +73,9 @@ async function loadInfo() {
|
||||
<Card size="small">
|
||||
<template #title>
|
||||
<div class="flex items-center gap-[6px]">
|
||||
<CommandLineIcon class="size-[16px]" />
|
||||
<span
|
||||
class="icon-[flat-color-icons--command-line] size-[16px]"
|
||||
></span>
|
||||
<span>命令统计</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -87,7 +88,7 @@ async function loadInfo() {
|
||||
<Card size="small">
|
||||
<template #title>
|
||||
<div class="flex items-center justify-start gap-[6px]">
|
||||
<MemoryIcon class="size-[16px]" />
|
||||
<span class="icon-[la--memory] size-[16px]"></span>
|
||||
<span>内存占用</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user