优化日志读取与传输效率
This commit is contained in:
@@ -88,7 +88,6 @@
|
|||||||
this.cancelSource = axios.CancelToken.source();
|
this.cancelSource = axios.CancelToken.source();
|
||||||
axios.get(`/api/wx_logs`, {
|
axios.get(`/api/wx_logs`, {
|
||||||
params: { type: this.logType, lines: this.logLines },
|
params: { type: this.logType, lines: this.logLines },
|
||||||
headers: { 'Accept-Encoding': 'gzip' },
|
|
||||||
cancelToken: this.cancelSource.token
|
cancelToken: this.cancelSource.token
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
|
|||||||
Reference in New Issue
Block a user