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

pull/1367/head
ssongliu 1 year ago committed by GitHub
parent 5222caecf9
commit b1d40960c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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',

@ -564,6 +564,7 @@ const message = {
gateway: '', gateway: '',
volume: '', volume: '',
volumeDir: '',
nfsEnable: ' NFS ', nfsEnable: ' NFS ',
nfsAddress: '', nfsAddress: '',
nfsAddressHelper: ' ip ', nfsAddressHelper: ' ip ',

@ -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

Loading…
Cancel
Save