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

feat: 容器日志下载只支持全量下载 (#6559)

Refs #2399
This commit is contained in:
John Bro 2024-09-24 22:23:24 +08:00 committed by GitHub
parent fdd57d0801
commit 05b19cefa5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,10 +162,8 @@ const searchLogs = async () => {
};
const onDownload = async () => {
let msg =
logSearch.tail === 0
? i18n.global.t('container.downLogHelper1', [logSearch.container])
: i18n.global.t('container.downLogHelper2', [logSearch.container, logSearch.tail]);
logSearch.tail = 0;
let msg = i18n.global.t('container.downLogHelper1', [logSearch.container]);
ElMessageBox.confirm(msg, i18n.global.t('file.download'), {
confirmButtonText: i18n.global.t('commons.button.confirm'),
cancelButtonText: i18n.global.t('commons.button.cancel'),