fix issue

This commit is contained in:
EduBrain Dev
2026-04-14 19:53:01 +08:00
parent 015e251727
commit db981b88b8

View File

@@ -2778,7 +2778,7 @@
async function loadSystemInfo() { async function loadSystemInfo() {
// 数据库状态检测 // 数据库状态检测
try { try {
await api('GET', '/../health'); await fetch(window.location.origin + '/health');
document.getElementById('sys-db-status').innerHTML = document.getElementById('sys-db-status').innerHTML =
'<span class="badge badge-completed">正常</span>'; '<span class="badge badge-completed">正常</span>';
} catch (_) { } catch (_) {