Browse Source

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

pull/1367/head
ssongliu 1 year ago committed by GitHub
parent
commit
b1d40960c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      frontend/src/lang/modules/en.ts
  2. 1
      frontend/src/lang/modules/zh.ts
  3. 14
      frontend/src/views/container/volume/index.vue

1
frontend/src/lang/modules/en.ts

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

1
frontend/src/lang/modules/zh.ts

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

14
frontend/src/views/container/volume/index.vue

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

Loading…
Cancel
Save