mirror of https://github.com/1Panel-dev/1Panel
fix: 解决合并导致的代码格式问题 (#2174)
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;
|
||||
|
|
|
@ -78,7 +78,7 @@ const message = {
|
|||
interval: 'Interval',
|
||||
user: 'User',
|
||||
title: 'Title',
|
||||
network: 'Network',
|
||||
network: 'Network',
|
||||
port: 'Port',
|
||||
protocol: 'Protocol',
|
||||
tableSetting: 'Table setting',
|
||||
|
|
|
@ -78,7 +78,7 @@ const message = {
|
|||
interval: '耗時',
|
||||
user: '用戶',
|
||||
title: '標題',
|
||||
network: '網絡',
|
||||
network: '網絡',
|
||||
port: '端口',
|
||||
protocol: '協議',
|
||||
tableSetting: '列表設置',
|
||||
|
|
|
@ -78,7 +78,7 @@ const message = {
|
|||
interval: '耗时',
|
||||
user: '用户',
|
||||
title: '标题',
|
||||
network: '网络',
|
||||
network: '网络',
|
||||
port: '端口',
|
||||
protocol: '协议',
|
||||
tableSetting: '列表设置',
|
||||
|
|
|
@ -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>
|
||||
|
@ -98,16 +101,18 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('commons.table.network')"
|
||||
:width="mobile ? 80 : 'auto'"
|
||||
min-width="80"
|
||||
fix
|
||||
>
|
||||
<div v-if="row.network">
|
||||
<div v-for="(item, index) in row.network" :key="index">
|
||||
<div>{{ item }}</div>
|
||||
</div>
|
||||
</div>
|
||||
:label="$t('commons.table.network')"
|
||||
:width="mobile ? 80 : 'auto'"
|
||||
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…
Reference in New Issue