diff --git a/frontend/src/components/LogViewer.vue b/frontend/src/components/LogViewer.vue index f10ba0c..c74e474 100644 --- a/frontend/src/components/LogViewer.vue +++ b/frontend/src/components/LogViewer.vue @@ -60,7 +60,7 @@ - 导出日志(txt格式) + 导出日志(log格式) @@ -285,7 +285,7 @@ const exportLogs = async () => { } else { fileName = `logs_${new Date().toISOString().slice(0, 10)}` } - a.download = `${fileName}.txt` + a.download = `${fileName}.log` document.body.appendChild(a) a.click()