[monitor] 支持网站监控类型,降低雪花算法UUID最大值解决ts json解析大数问题

This commit is contained in:
tomsun28
2021-12-03 13:41:17 +08:00
parent e7e2e87e11
commit 4ae1145d19
14 changed files with 190 additions and 35 deletions

View File

@@ -102,7 +102,7 @@ export class MonitorNewComponent implements OnInit {
"params": this.params
};
this.isSpinning = true;
this.monitorSvc.newMonitor(detectMonitor)
this.monitorSvc.detectMonitor(detectMonitor)
.subscribe(message => {
this.isSpinning = false;
if (message.code === 0) {

View File

@@ -35,8 +35,8 @@
"icon": "anticon-cloud",
"children": [
{
"text": "http",
"link": "/monitors?app=http",
"text": "api",
"link": "/monitors?app=api",
"i18n": "monitor.app.http"
},
{

View File

@@ -28,6 +28,7 @@
},
"app": {
"": "监控类型",
"api": "HTTP API",
"http": "HTTP API",
"ping": "PING连通性",
"telnet": "Telnet端口可用性",