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