1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-02-07 17:10:07 +08:00

fix: 解决计划任务列表备份账号显示问题 (#4187)

Refs #4096
This commit is contained in:
ssongliu 2024-03-14 18:24:07 +08:00 committed by GitHub
parent 0f9b0d5d82
commit 17020ffe9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,6 +105,8 @@
</el-table-column>
<el-table-column :min-width="80" :label="$t('setting.backupAccount')" prop="defaultDownload">
<template #default="{ row }">
<span v-if="!hasBackup(row.type)">-</span>
<div v-else>
<div v-for="(item, index) of row.backupAccounts?.split(',')" :key="index">
<div v-if="row.accountExpand || (!row.accountExpand && index < 3)">
<span v-if="row.backupAccounts">
@ -132,6 +134,7 @@
{{ $t('commons.button.collapse') }}
</el-button>
</div>
</div>
</template>
</el-table-column>
<fu-table-operations