From 5e27aa04dd1857ddae735d8fa306d43d149657cd Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Sat, 28 Oct 2023 11:11:31 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E5=88=A0=E9=99=A4?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86=20(#2711)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/app/service/setting_clean.go | 2 +-
frontend/src/components/backup/index.vue | 20 ++++++++++++++++---
frontend/src/components/upload/index.vue | 20 ++++++++++++++++---
.../redis/setting/persistence/index.vue | 19 +++++++++++++++---
.../views/setting/backup-account/index.vue | 18 ++++++++++++++---
5 files changed, 66 insertions(+), 13 deletions(-)
diff --git a/backend/app/service/setting_clean.go b/backend/app/service/setting_clean.go
index be557615d..06b3884bf 100644
--- a/backend/app/service/setting_clean.go
+++ b/backend/app/service/setting_clean.go
@@ -327,8 +327,8 @@ func (u *SettingService) SystemCleanForCronjob() (string, error) {
}
}
timeNow := time.Now().Format("2006-01-02 15:04:05")
- logs += fmt.Sprintf("%s: total clean: %s, total count: %d", timeNow, common.LoadSizeUnit2F(float64(size)), fileCount)
dropFileOrDirWithLog(path.Join(global.CONF.System.BaseDir, dockerLogPath), &logs, &size, &fileCount)
+ logs += fmt.Sprintf("\n%s: total clean: %s, total count: %d", timeNow, common.LoadSizeUnit2F(float64(size)), fileCount)
_ = settingRepo.Update("LastCleanTime", timeNow)
_ = settingRepo.Update("LastCleanSize", fmt.Sprintf("%v", size))
diff --git a/frontend/src/components/backup/index.vue b/frontend/src/components/backup/index.vue
index b510f1885..1d563b1da 100644
--- a/frontend/src/components/backup/index.vue
+++ b/frontend/src/components/backup/index.vue
@@ -44,13 +44,15 @@
+
+