1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00

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', cache: 'Cache',
volume: 'Volume', volume: 'Volume',
volumeDir: 'Volume dir',
volumeName: 'Name', volumeName: 'Name',
nfsEnable: 'Enable NFS storage', nfsEnable: 'Enable NFS storage',
nfsAddress: 'Address', nfsAddress: 'Address',

View File

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

View File

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