Initial commit (code only without large binaries)
This commit is contained in:
13
EdgeAdmin/web/views/@default/clusters/ip-addrs/index.js
Normal file
13
EdgeAdmin/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