mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-11-06 02:56:47 +08:00
fix: statistics details failure
This commit is contained in:
1 parent
fca0f6c724
commit
c9d055592f
1 file changed
+4
-1
+4
-1
@@ -114,7 +114,10 @@ async function bean() {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$.errorMsg = `数据异常`;
|
||||
// 完全无数据时才抛出异常,否则返回之前统计出来的数据
|
||||
if (!todayArr.length && !yesterdayArr.length) {
|
||||
$.errorMsg = `数据异常`;
|
||||
}
|
||||
// $.msg($.name, ``, `账号${$.index}:${$.nickName}\n${$.errorMsg}`);
|
||||
t = 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user