web修复
This commit is contained in:
@@ -103,12 +103,12 @@ function loadInitialData() {
|
||||
// 更新统计卡片数据
|
||||
function updateStatCards(stats) {
|
||||
const statElements = {
|
||||
'blocked-count': stats.blocked || 0,
|
||||
'allowed-count': stats.allowed || 0,
|
||||
'error-count': stats.error || 0,
|
||||
'total-queries': stats.totalQueries || 0,
|
||||
'rules-count': stats.rulesCount || 0,
|
||||
'hosts-count': stats.hostsCount || 0
|
||||
'blocked-count': stats.Blocked || 0,
|
||||
'allowed-count': stats.Allowed || 0,
|
||||
'error-count': stats.Errors || 0,
|
||||
'total-queries': stats.Queries || 0,
|
||||
'rules-count': 0,
|
||||
'hosts-count': 0
|
||||
};
|
||||
|
||||
for (const [id, value] of Object.entries(statElements)) {
|
||||
|
||||
Reference in New Issue
Block a user