Spaces:
Running
Running
CassiopeiaCode
commited on
Commit
·
59d6efd
1
Parent(s):
7ab2eba
feat: 前端显示账号统计信息
Browse files- 在账号列表中显示success_count和error_count
- 方便监控账号使用情况和错误次数
- frontend/index.html +2 -0
frontend/index.html
CHANGED
|
@@ -437,6 +437,8 @@ function renderAccounts(list){
|
|
| 437 |
meta.appendChild(kEl); meta.appendChild(vEl);
|
| 438 |
}
|
| 439 |
row('enabled', String(!!acc.enabled));
|
|
|
|
|
|
|
| 440 |
row('last_refresh_status', acc.last_refresh_status);
|
| 441 |
row('last_refresh_time', acc.last_refresh_time);
|
| 442 |
row('clientId', acc.clientId);
|
|
|
|
| 437 |
meta.appendChild(kEl); meta.appendChild(vEl);
|
| 438 |
}
|
| 439 |
row('enabled', String(!!acc.enabled));
|
| 440 |
+
row('success_count', acc.success_count ?? 0);
|
| 441 |
+
row('error_count', acc.error_count ?? 0);
|
| 442 |
row('last_refresh_status', acc.last_refresh_status);
|
| 443 |
row('last_refresh_time', acc.last_refresh_time);
|
| 444 |
row('clientId', acc.clientId);
|