mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 17:30:29 +08:00
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
Tea.context(function () {
|
||
this.deleteAddr = function (addrId) {
|
||
teaweb.confirm("确定要删除这个IP地址吗?", function () {
|
||
this.$post(".addr.delete")
|
||
.params({
|
||
addrId: addrId
|
||
})
|
||
.success(function () {
|
||
teaweb.reload()
|
||
})
|
||
})
|
||
}
|
||
}) |