优化日志读取与传输效率
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
.then(response => {
|
.then(response => {
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
this.logContent = response.data.data.content || [];
|
this.logContent = response.data.data.content || [];
|
||||||
this.logText = this.logContent.join('');
|
this.logText = this.logContent.join('\n');
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const logDiv = this.$el.querySelector('.log-content');
|
const logDiv = this.$el.querySelector('.log-content');
|
||||||
const pre = this.$refs.logPre;
|
const pre = this.$refs.logPre;
|
||||||
|
|||||||
Reference in New Issue
Block a user