feat: 🚀 修改服务监控显示样式

This commit is contained in:
bunny 2024-10-25 10:15:41 +08:00
parent 9b50823cdb
commit d92f7ae073
2 changed files with 2 additions and 7 deletions

View File

@ -12,14 +12,9 @@ onMounted(() => {
<template> <template>
<div v-loading="loading" :element-loading-svg="svg" element-loading-svg-view-box="-10, -10, 50, 50"> <div v-loading="loading" :element-loading-svg="svg" element-loading-svg-view-box="-10, -10, 50, 50">
<!--<el-empty v-if="false" :description="$t('no_server')" />-->
<el-row :gutter="16"> <el-row :gutter="16">
<system-info v-if="info" :info="info" /> <system-info v-if="info" :info="info" />
<system-server /> <system-server />
<!--<el-col v-for="(product, index) in datalist" :key="index" :lg="6" :md="8" :sm="12" :xl="4" :xs="24">-->
<!-- <ListCard :product="product" />-->
<!--</el-col>-->
</el-row> </el-row>
</div> </div>
</template> </template>

View File

@ -80,8 +80,8 @@ const formatValue = (va: any) => {
</el-row> </el-row>
<p class="list-card-item_detail--name text-text_color_primary">Redis状态</p> <p class="list-card-item_detail--name text-text_color_primary">Redis状态</p>
<el-text> <el-text>
<div>数据库状态{{ systemServerInfo?.components?.redis?.status === 'UP' ? $t('enable') : $t('disable') }}</div> <div>Redis状态{{ systemServerInfo?.components?.redis?.status === 'UP' ? $t('enable') : $t('disable') }}</div>
<div>数据库类型{{ systemServerInfo?.components?.redis?.details.version }}</div> <div>Redis版本{{ systemServerInfo?.components?.redis?.details.version }}</div>
</el-text> </el-text>
</div> </div>
</div> </div>