优化日志读取与传输效率
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user