fix: 解决容器镜像清理的显示问题 (#3980)

This commit is contained in:
ssongliu 2024-02-26 14:14:10 +08:00 committed by GitHub
parent f0d5aca657
commit 49dcb094dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View file

@ -1243,7 +1243,6 @@ const message = {
createBackupAccount: 'Add {0}',
noTypeForCreate: 'No backup type is currently created',
LOCAL: 'Server disks',
currentPath: 'Current path',
OSS: 'Ali OSS',
S3: 'Amazon S3',
MINIO: 'MINIO',

View file

@ -1166,7 +1166,6 @@ const message = {
createBackupAccount: '添加 {0}',
noTypeForCreate: '當前無可創建備份類型',
LOCAL: '服務器磁盤',
currentPath: '當前路徑',
OSS: '阿裏雲 OSS',
S3: '亞馬遜 S3 雲存儲',
MINIO: 'MINIO',

View file

@ -1167,7 +1167,6 @@ const message = {
createBackupAccount: '添加 {0}',
noTypeForCreate: '当前无可创建备份类型',
LOCAL: '服务器磁盘',
currentPath: '当前路径',
OSS: '阿里云 OSS',
S3: '亚马逊 S3 云存储',
MINIO: 'MINIO',

View file

@ -22,8 +22,11 @@
</span>
<div v-if="!withTagAll">
<ul v-for="(item, index) in unTagList" :key="index">
<li>
{{ item.tags[0] || '< none >' }}
<li v-if="item.tags">
{{ item.tags[0] }}
</li>
<li v-else>
{{ item.id.replaceAll('sha256:', '').substring(0, 12) }}
</li>
</ul>
</div>

View file

@ -18,7 +18,7 @@
</div>
<el-divider class="divider" />
<div style="margin-left: 20px">
<el-form-item :label="$t('setting.currentPath')">
<el-form-item :label="$t('setting.backupDir')">
{{ localData.varsJson['dir'] }}
</el-form-item>
<el-form-item :label="$t('commons.table.createdAt')">

View file

@ -11,7 +11,7 @@
<el-tag>{{ $t('setting.' + dialogData.rowData!.type) }}</el-tag>
</el-form-item>
<el-form-item
:label="$t('setting.currentPath')"
:label="$t('setting.backupDir')"
prop="varsJson['dir']"
:rules="Rules.requiredInput"
>