feat: 🚀 修改服务监控显示样式
This commit is contained in:
parent
9b50823cdb
commit
d92f7ae073
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue