fix: cron job not run when clean days is 0 (#670)

This commit is contained in:
Dream Hunter
2025-06-18 13:15:32 +08:00
committed by GitHub
parent 672c4c7273
commit c694b07380
11 changed files with 773 additions and 772 deletions

View File

@@ -24,15 +24,15 @@
"@vueuse/core": "^12.8.2",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"axios": "^1.9.0",
"axios": "^1.10.0",
"jszip": "^3.10.1",
"mail-parser-wasm": "^0.2.1",
"naive-ui": "^2.41.1",
"naive-ui": "^2.42.0",
"postal-mime": "^2.4.3",
"vooks": "^0.2.12",
"vue": "^3.5.16",
"vue-clipboard3": "^2.0.0",
"vue-i18n": "^11.1.5",
"vue-i18n": "^11.1.6",
"vue-router": "^4.5.1"
},
"devDependencies": {
@@ -47,7 +47,7 @@
"vite-plugin-wasm": "^3.4.1",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0",
"wrangler": "^4.19.1"
"wrangler": "^4.20.1"
},
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
}

518
frontend/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -28,7 +28,7 @@ const { t } = useI18n({
autoCleanup: "Auto cleanup",
cleanupSuccess: "Cleanup success",
save: "Save",
cronTip: "Enable cron cleanup, need to configure [crons] in worker, please refer to the document",
cronTip: "Enable cron cleanup, need to configure [crons] in worker, please refer to the document, setting 0 days means clear all",
},
zh: {
tip: '请输入天数',
@@ -39,7 +39,7 @@ const { t } = useI18n({
cleanupSuccess: "清理成功",
cleanupNow: "立即清理",
save: "保存",
cronTip: "启用定时清理, 需在 worker 配置 [crons] 参数, 请参考文档",
cronTip: "启用定时清理, 需在 worker 配置 [crons] 参数, 请参考文档, 配置为 0 天表示全部清空",
}
}
});