mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +08:00
fix: 解决合并导致的代码格式问题 (#2174)
This commit is contained in:
parent
c00d715b87
commit
ea17c451a6
@ -57,6 +57,7 @@ export namespace Container {
|
||||
createTime: string;
|
||||
state: string;
|
||||
runTime: string;
|
||||
network: Array<string>;
|
||||
ports: Array<string>;
|
||||
isFromApp: boolean;
|
||||
isFromCompose: boolean;
|
||||
|
@ -90,7 +90,10 @@
|
||||
<el-table-column :label="$t('container.source')" show-overflow-tooltip min-width="100" fix>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.hasLoad">
|
||||
<div>CPU: {{ row.cpuPercent.toFixed(2) }}% {{ $t('monitor.memory') }}: {{ row.memoryPercent.toFixed(2) }}%</div>
|
||||
<div>
|
||||
CPU: {{ row.cpuPercent.toFixed(2) }}% {{ $t('monitor.memory') }}:
|
||||
{{ row.memoryPercent.toFixed(2) }}%
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="!row.hasLoad">
|
||||
<el-button link loading></el-button>
|
||||
@ -103,11 +106,13 @@
|
||||
min-width="80"
|
||||
fix
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.network">
|
||||
<div v-for="(item, index) in row.network" :key="index">
|
||||
<div>{{ item }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('commons.table.port')"
|
||||
|
Loading…
x
Reference in New Issue
Block a user