diff --git a/src/views/components/server-detail/server-info-box.vue b/src/views/components/server-detail/server-info-box.vue
index 195601b..3a16c8a 100644
--- a/src/views/components/server-detail/server-info-box.vue
+++ b/src/views/components/server-detail/server-info-box.vue
@@ -75,8 +75,15 @@
:class="`temperature--${ttItem.type}`"
:title="ttItem?.title || ''"
>
- {{ ttItem.label }}
- {{ ttItem.value }}
+
+ {{ ttItem.label }}
+
+
+ {{ ttItem.value }}
+
@@ -398,11 +405,18 @@ const temperatureData = computed(() => {
}
}
if (other.length) {
- data.push({
- type: 'other',
- label: '其它',
- value: '...',
- title: other.map((i) => `${i.label}: ${i.value}`).join('\n'),
+ // data.push({
+ // type: 'other',
+ // label: '其它',
+ // value: '...',
+ // title: other.map((i) => `${i.label}: ${i.value}`).join('\n'),
+ // });
+ other.forEach((i) => {
+ data.push({
+ label: i.label,
+ value: i.value,
+ type: 'other',
+ });
});
}
}
@@ -578,6 +592,17 @@ const processCount = computed(() => props.info?.State?.ProcessCount);
}
}
+ .server-info--temperature {
+ .server-info-item {
+ .server-info-item-label {
+ max-width: 4.5em;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+ }
+ }
+
.server-info--order-link {
padding: 10px 0 0;
}