节点列表增加连接数列

This commit is contained in:
刘祥超
2023-03-15 17:57:32 +08:00
parent 063583dda1
commit fba69f3109
6 changed files with 106 additions and 56 deletions

View File

@@ -1,6 +1,20 @@
Tea.context(function () {
this.teaweb = teaweb
// 显示的统计项
this.windowWidth = window.innerWidth
this.miniWidth = 760
this.columnWidth1 = 800
this.columnWidth2 = 900
this.columnWidth3 = 1000
this.columnWidth4 = 1100
this.columnWidth5 = 1200
let that = this
window.addEventListener("resize", function () {
that.windowWidth = window.innerWidth
})
this.deleteNode = function (nodeId) {
teaweb.confirm("确定要从当前集群中删除这个节点吗?", function () {
this.$post("/nodes/delete")