mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
parent
fdd57d0801
commit
05b19cefa5
@ -162,10 +162,8 @@ const searchLogs = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const onDownload = async () => {
|
const onDownload = async () => {
|
||||||
let msg =
|
logSearch.tail = 0;
|
||||||
logSearch.tail === 0
|
let msg = i18n.global.t('container.downLogHelper1', [logSearch.container]);
|
||||||
? i18n.global.t('container.downLogHelper1', [logSearch.container])
|
|
||||||
: i18n.global.t('container.downLogHelper2', [logSearch.container, logSearch.tail]);
|
|
||||||
ElMessageBox.confirm(msg, i18n.global.t('file.download'), {
|
ElMessageBox.confirm(msg, i18n.global.t('file.download'), {
|
||||||
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
||||||
cancelButtonText: i18n.global.t('commons.button.cancel'),
|
cancelButtonText: i18n.global.t('commons.button.cancel'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user