diff --git a/frontend/src/views/container/container/log/index.vue b/frontend/src/views/container/container/log/index.vue index bf2766cca..e3ebefe7f 100644 --- a/frontend/src/views/container/container/log/index.vue +++ b/frontend/src/views/container/container/log/index.vue @@ -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'),