Browse Source

111

feature/MultiClientLog
root 1 month ago
parent
commit
5d979b3310
  1. 3
      LTEMvcApp/Views/Home/Logs.cshtml

3
LTEMvcApp/Views/Home/Logs.cshtml

@ -1385,6 +1385,8 @@
});
});
var connectionStatusBtn = document.getElementById('connectionStatusBtn');
if (connectionStatusBtn) {
connectionStatusBtn.addEventListener('click', function() {
fetch('/api/log/connection-status')
.then(response => response.json())
@ -1396,6 +1398,7 @@
showError('获取连接状态失败: ' + error.message);
});
});
}
testConnectionBtn.addEventListener('click', function() {
fetch('/api/log/test-connection')

Loading…
Cancel
Save