Browse Source

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

Refs #2399
pull/6593/head
John Bro 2 months ago committed by GitHub
parent
commit
05b19cefa5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      frontend/src/views/container/container/log/index.vue

6
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'),

Loading…
Cancel
Save