Remove redundant code for MaxTCPPingValue initialization

This commit is contained in:
naiba committed 2024-03-24 22:45:56 +08:00
1 parent c7529fc06d
commit 0f467d1bd6
4 files changed
+117 -125

No files matched your search

-3
View File
@@ -28,9 +28,6 @@
const monitorInfo = JSON.parse('{{.MonitorInfos}}');
const initData = JSON.parse('{{.Servers}}').servers;
let MaxTCPPingValue = {{.Conf.MaxTCPPingValue}};
if (MaxTCPPingValue == null) {
MaxTCPPingValue = 1000;
}
new Vue({
el: '#app',
delimiters: ['@#', '#@'],