Remove redundant code for MaxTCPPingValue initialization

This commit is contained in:
naiba
2024-03-24 22:45:56 +08:00
parent 5a2ab8a7ee
commit 6c718c4f38
4 changed files with 117 additions and 125 deletions

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: ['@#', '#@'],