优化日志读取与传输效率

This commit is contained in:
liuwei
2025-12-25 15:59:37 +08:00
parent 672ea93201
commit 32692298ff

View File

@@ -94,7 +94,7 @@
.then(response => {
if (response.data.success) {
this.logContent = response.data.data.content || [];
this.logText = this.logContent.join('');
this.logText = this.logContent.join('\n');
this.$nextTick(() => {
const logDiv = this.$el.querySelector('.log-content');
const pre = this.$refs.logPre;