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

fix: 计划任务列表样式调整 (#3718)

This commit is contained in:
ssongliu 2024-01-26 22:44:11 +08:00 committed by GitHub
parent 9f2227cf19
commit aa8429a836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 8 deletions

View File

@ -823,7 +823,7 @@ const message = {
retainCopies: 'Retain copies',
retainCopiesHelper: 'Number of copies to retain for execution records and logs',
retainCopiesHelper1: 'Number of copies to retain for backup files',
retainCopiesUnit: 'copies (view)',
retainCopiesUnit: ' copies',
cronSpecRule: 'Please enter a correct lifecycle',
perMonth: 'Every monthly',
perWeek: 'Every week',

View File

@ -784,7 +784,7 @@ const message = {
retainCopies: '保留份數',
retainCopiesHelper: '執行記錄及日誌保留份数',
retainCopiesHelper1: '備份文件保留份数',
retainCopiesUnit: '查看',
retainCopiesUnit: ' ',
cronSpecRule: '請輸入正確的執行周期',
perMonth: '每月',
perWeek: '每周',

View File

@ -785,7 +785,7 @@ const message = {
retainCopies: '保留份数',
retainCopiesHelper: '执行记录及日志保留份数',
retainCopiesHelper1: '备份文件保留份数',
retainCopiesUnit: ' (查看)',
retainCopiesUnit: ' ',
cronSpecRule: '请输入正确的执行周期',
perMonth: '每月',
perWeek: '每周',

View File

@ -118,13 +118,16 @@
<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">
<span v-if="item === row.defaultDownload">
{{ $t('setting.' + item) }}
<el-icon><Star /></el-icon>
</span>
<span v-else>
<span>
{{ $t('setting.' + item) }}
</span>
<el-icon
size="12"
v-if="item === row.defaultDownload"
class="relative top-px left-1"
>
<Star />
</el-icon>
</span>
<span v-else>-</span>
</div>