Commit 488e87fd authored by aiduck's avatar aiduck

将前部分的数据在清空前上传是否需要

parent 8820af33
......@@ -137,9 +137,9 @@ class Reporter {
// 重置数据(分条使用)
reset() {
// 将前部分的数据在清空前上传
if(this.bus.length > 0) {
this.report();
}
// if(this.bus.length > 0) {
// this.report();
// }
this.cache = [];
this.bus = [];
this.counter.reset();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment