mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 23:30:26 +08:00
14 lines
298 B
JavaScript
14 lines
298 B
JavaScript
Tea.context(function () {
|
|
this.deleteDomain = function (domainId) {
|
|
let that = this
|
|
teaweb.confirm("确定要删除此域名吗?", function () {
|
|
that.$post("/ns/domains/delete")
|
|
.params({
|
|
domainId: domainId
|
|
})
|
|
.success(function () {
|
|
teaweb.reload()
|
|
})
|
|
})
|
|
}
|
|
}) |