mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-27 05:00:25 +08:00
增加独立的IP地址管理功能
This commit is contained in:
13
web/views/@default/clusters/ip-addrs/index.js
Normal file
13
web/views/@default/clusters/ip-addrs/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
Tea.context(function () {
|
||||
this.deleteAddr = function (addrId) {
|
||||
teaweb.confirm("确定要删除这个IP地址吗?", function () {
|
||||
this.$post(".addr.delete")
|
||||
.params({
|
||||
addrId: addrId
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.reload()
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user