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;
|
createTime: string;
|
||||||
state: string;
|
state: string;
|
||||||
runTime: string;
|
runTime: string;
|
||||||
|
network: Array<string>;
|
||||||
ports: Array<string>;
|
ports: Array<string>;
|
||||||
isFromApp: boolean;
|
isFromApp: boolean;
|
||||||
isFromCompose: boolean;
|
isFromCompose: boolean;
|
||||||
|
@ -90,7 +90,10 @@
|
|||||||
<el-table-column :label="$t('container.source')" show-overflow-tooltip min-width="100" fix>
|
<el-table-column :label="$t('container.source')" show-overflow-tooltip min-width="100" fix>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div v-if="row.hasLoad">
|
<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>
|
||||||
<div v-if="!row.hasLoad">
|
<div v-if="!row.hasLoad">
|
||||||
<el-button link loading></el-button>
|
<el-button link loading></el-button>
|
||||||
@ -103,11 +106,13 @@
|
|||||||
min-width="80"
|
min-width="80"
|
||||||
fix
|
fix
|
||||||
>
|
>
|
||||||
|
<template #default="{ row }">
|
||||||
<div v-if="row.network">
|
<div v-if="row.network">
|
||||||
<div v-for="(item, index) in row.network" :key="index">
|
<div v-for="(item, index) in row.network" :key="index">
|
||||||
<div>{{ item }}</div>
|
<div>{{ item }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="$t('commons.table.port')"
|
:label="$t('commons.table.port')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user