fix: 容器存储卷目录按钮样式修改 (#1366)

This commit is contained in:
ssongliu 2023-06-13 14:28:12 +08:00 committed by GitHub
parent 5222caecf9
commit b1d40960c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions

View File

@ -554,6 +554,7 @@ const message = {
cache: 'Cache',
volume: 'Volume',
volumeDir: 'Volume dir',
volumeName: 'Name',
nfsEnable: 'Enable NFS storage',
nfsAddress: 'Address',

View File

@ -564,6 +564,7 @@ const message = {
gateway: '网关',
volume: '存储卷',
volumeDir: '存储卷目录',
nfsEnable: '启用 NFS 存储',
nfsAddress: '地址',
nfsAddressHelper: '支持输入 ip 或者域名',

View File

@ -49,14 +49,8 @@
<Tooltip @click="onInspect(row.name)" :text="row.name" />
</template>
</el-table-column>
<el-table-column
:label="$t('container.mountpoint')"
show-overflow-tooltip
min-width="120"
prop="mountpoint"
>
<el-table-column :label="$t('container.volumeDir')" min-width="50">
<template #default="{ row }">
{{ row.mountpoint }}
<el-button type="primary" link @click="toFolder(row.mountpoint)">
<el-icon>
<FolderOpened />
@ -64,6 +58,12 @@
</el-button>
</template>
</el-table-column>
<el-table-column
:label="$t('container.mountpoint')"
show-overflow-tooltip
min-width="120"
prop="mountpoint"
/>
<el-table-column
:label="$t('container.driver')"
show-overflow-tooltip