mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-15 04:41:25 +08:00
节点列表增加连接数列
This commit is contained in:
@@ -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("/cluster/nodes/delete")
|
||||
|
||||
Reference in New Issue
Block a user